Move lint expectation checking into a separate query (RFC 2383)
This commit is contained in:
@@ -503,7 +503,4 @@ pub fn check_crate<'tcx, T: LateLintPass<'tcx>>(
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
// This check has to be run after all lints are done processing for this crate
|
||||
tcx.sess.time("check_lint_expectations", || crate::expect::check_expectations(tcx));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user