Skip to content

Commit

Permalink
Update compiler/rustc_interface/src/queries.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot authored Sep 30, 2022
1 parent 477846f commit 4b1cf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_interface/src/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 4b1cf84

Please sign in to comment.