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 0bf3d11 commit 50a296fCopy full SHA for 50a296f
1 file changed
compiler/rustc_trait_selection/src/traits/mod.rs
@@ -308,11 +308,10 @@ fn do_normalize_predicates<'tcx>(
308
//
309
// @lcnr: Let's still ICE here for now. I want a test case
310
// for that.
311
- span_bug!(
+ Err(tcx.dcx().span_delayed_bug(
312
span,
313
- "inference variables in normalized parameter environment: {}",
314
- fixup_err
315
- );
+ format!("inference variables in normalized parameter environment: {fixup_err}"),
+ ))
316
}
317
318
0 commit comments