Annotate the compiler with information about what it is doing when.
This commit is contained in:
parent
aa265869ba
commit
005fa14358
29 changed files with 171 additions and 50 deletions
|
|
@ -801,7 +801,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
|
|||
|
||||
time(time_passes,
|
||||
"rvalue checking",
|
||||
|| middle::check_rvalues::check_crate(tcx, krate));
|
||||
|| middle::check_rvalues::check_crate(tcx));
|
||||
|
||||
// Avoid overwhelming user with errors if type checking failed.
|
||||
// I'm not sure how helpful this is, to be honest, but it avoids
|
||||
|
|
|
|||
|
|
@ -204,6 +204,7 @@ impl PpSourceMode {
|
|||
let annotation = TypedAnnotation {
|
||||
tcx: tcx,
|
||||
};
|
||||
let _ignore = tcx.dep_graph.in_ignore();
|
||||
f(&annotation,
|
||||
payload,
|
||||
&ast_map.forest.krate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue