Rollup merge of #146971 - lcnr:fix-writeback, r=BoxyUwU
fix ICE in writeback due to bound regions fixes rust-lang/rust#117808 r? `@BoxyUwU`
This commit is contained in:
@@ -100,9 +100,9 @@ where
|
||||
} else if let Err(guar) = infcx.tcx.check_potentially_region_dependent_goals(root_def_id) {
|
||||
Err(guar)
|
||||
} else {
|
||||
Err(infcx
|
||||
.dcx()
|
||||
.delayed_bug(format!("errors selecting obligation during MIR typeck: {errors:?}")))
|
||||
Err(infcx.dcx().delayed_bug(format!(
|
||||
"errors selecting obligation during MIR typeck: {name} {root_def_id:?} {errors:?}"
|
||||
)))
|
||||
}
|
||||
})?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user