@@ -4,9 +4,7 @@ use std::ffi::OsStr;
44use std:: fmt;
55use std:: path:: PathBuf ;
66
7- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
8- use rustc_hir:: def_id:: DefId ;
9- use rustc_middle:: middle:: privacy:: AccessLevels ;
7+ use rustc_data_structures:: fx:: FxHashMap ;
108use rustc_session:: config:: { self , parse_crate_types_from_list, parse_externs, CrateType } ;
119use rustc_session:: config:: {
1210 build_codegen_options, build_debugging_options, get_cmd_lint_options, host_triple,
@@ -268,20 +266,6 @@ crate struct RenderOptions {
268266 crate unstable_features : rustc_feature:: UnstableFeatures ,
269267}
270268
271- /// Temporary storage for data obtained during `RustdocVisitor::clean()`.
272- /// Later on moved into `cache`.
273- #[ derive( Default , Clone ) ]
274- crate struct RenderInfo {
275- crate inlined : FxHashSet < DefId > ,
276- crate external_paths : crate :: core:: ExternalPaths ,
277- crate exact_paths : FxHashMap < DefId , Vec < String > > ,
278- crate access_levels : AccessLevels < DefId > ,
279- crate deref_trait_did : Option < DefId > ,
280- crate deref_mut_trait_did : Option < DefId > ,
281- crate owned_box_did : Option < DefId > ,
282- crate output_format : OutputFormat ,
283- }
284-
285269impl Options {
286270 /// Parses the given command-line for options. If an error message or other early-return has
287271 /// been printed, returns `Err` with the exit code.
0 commit comments