Remove unused name from CrateAnalysis

This commit is contained in:
Igor Matuszewski 2019-01-04 20:01:01 +01:00
parent a1189ac058
commit 480d0f3a31
3 changed files with 0 additions and 3 deletions

View File

@ -122,7 +122,6 @@ mod sty;
/// *on-demand* infrastructure.
#[derive(Clone)]
pub struct CrateAnalysis {
pub name: String,
pub glob_map: Option<hir::GlobMap>,
}

View File

@ -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 {

View File

@ -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 },
};