We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71cd56 commit 163b480Copy full SHA for 163b480
compiler/rustc_driver/src/lib.rs
@@ -389,7 +389,7 @@ fn run_compiler(
389
}
390
391
queries.global_ctxt()?.peek_mut().enter(|tcx| {
392
- tcx.analysis(LOCAL_CRATE)?;
+ let result = tcx.analysis(LOCAL_CRATE);
393
if sess.opts.debugging_opts.save_analysis {
394
let crate_name = queries.crate_name()?.peek().clone();
395
sess.time("save_analysis", || {
@@ -405,7 +405,7 @@ fn run_compiler(
405
)
406
});
407
408
- Ok(())
+ result
409
})?;
410
411
if callbacks.after_analysis(compiler, queries) == Compilation::Stop {
0 commit comments