about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/ty/mod.rs1
-rw-r--r--src/librustc_driver/driver.rs1
-rw-r--r--src/librustdoc/core.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs
index 20ae9cb2da1..efe38eb275f 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<hir::GlobMap>,
 }
 
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 851de44c281..a9b32df801c 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 ccbe48f4ac1..032265c8492 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 },
         };