@@ -4,9 +4,7 @@ use std::ffi::OsStr;
4
4
use std:: fmt;
5
5
use std:: path:: PathBuf ;
6
6
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 ;
10
8
use rustc_session:: config:: { self , parse_crate_types_from_list, parse_externs, CrateType } ;
11
9
use rustc_session:: config:: {
12
10
build_codegen_options, build_debugging_options, get_cmd_lint_options, host_triple,
@@ -268,20 +266,6 @@ crate struct RenderOptions {
268
266
crate unstable_features : rustc_feature:: UnstableFeatures ,
269
267
}
270
268
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
-
285
269
impl Options {
286
270
/// Parses the given command-line for options. If an error message or other early-return has
287
271
/// been printed, returns `Err` with the exit code.
0 commit comments