Update compiler/rustc_interface/src/queries.rs
This commit is contained in:
parent
477846f491
commit
4b1cf846bd
@ -246,7 +246,7 @@ impl<'tcx> Queries<'tcx> {
|
||||
// Don't do code generation if there were any errors
|
||||
self.session().compile_status()?;
|
||||
|
||||
// If we have any delayed bugs, for example beacuse we created TyKind::Error earlier,
|
||||
// If we have any delayed bugs, for example because we created TyKind::Error earlier,
|
||||
// it's likey that codegen will only cause more ICEs, obscuring the original problem
|
||||
self.session().diagnostic().flush_delayed();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user