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 8a96884 commit 477846fCopy full SHA for 477846f
compiler/rustc_interface/src/queries.rs
@@ -246,6 +246,8 @@ impl<'tcx> Queries<'tcx> {
246
// Don't do code generation if there were any errors
247
self.session().compile_status()?;
248
249
+ // If we have any delayed bugs, for example beacuse we created TyKind::Error earlier,
250
+ // it's likey that codegen will only cause more ICEs, obscuring the original problem
251
self.session().diagnostic().flush_delayed();
252
253
// Hook for UI tests.
0 commit comments