Update compiler/rustc_interface/src/queries.rs

This commit is contained in:
Camille Gillot 2022-09-30 19:50:48 +02:00 committed by GitHub
parent 477846f491
commit 4b1cf846bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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