Move lint expectation checking into a separate query (RFC 2383)

This commit is contained in:
xFrednet
2022-03-29 00:10:45 +02:00
parent 7f03681cd9
commit 2c5e85249f
8 changed files with 68 additions and 13 deletions

View File

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