Use ensure for analysis calls

This commit is contained in:
bjorn3
2024-12-08 16:57:09 +00:00
parent 23fda35811
commit 0df80949aa
2 changed files with 2 additions and 2 deletions

View File

@@ -449,7 +449,7 @@ fn run_compiler(
return early_exit();
}
let _ = tcx.analysis(());
tcx.ensure().analysis(());
if callbacks.after_analysis(compiler, tcx) == Compilation::Stop {
return early_exit();