Annotate the compiler with information about what it is doing when.

This commit is contained in:
Niko Matsakis 2015-12-22 16:35:02 -05:00
parent aa265869ba
commit 005fa14358
29 changed files with 171 additions and 50 deletions

View file

@ -154,6 +154,7 @@ pub fn run_core(search_paths: SearchPaths, cfgs: Vec<String>, externs: Externs,
&name,
resolve::MakeGlobMap::No,
|tcx, _, analysis| {
let _ignore = tcx.dep_graph.in_ignore();
let ty::CrateAnalysis { access_levels, .. } = analysis;
// Convert from a NodeId set to a DefId set since we don't always have easy access