diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs index 20ae9cb2da1f..efe38eb275f0 100644 --- a/src/librustc/ty/mod.rs +++ b/src/librustc/ty/mod.rs @@ -122,7 +122,6 @@ mod sty; /// *on-demand* infrastructure. #[derive(Clone)] pub struct CrateAnalysis { - pub name: String, pub glob_map: Option, } diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 851de44c2811..a9b32df801c9 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -784,7 +784,6 @@ where }, analysis: ty::CrateAnalysis { - name: crate_name.to_string(), glob_map: if resolver.make_glob_map { Some(resolver.glob_map) } else { diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index ccbe48f4ac1f..032265c8492d 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -470,7 +470,6 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt }).collect(), }; let analysis = ty::CrateAnalysis { - name: name.to_string(), glob_map: if resolver.make_glob_map { Some(resolver.glob_map.clone()) } else { None }, };