imrpove type_op failure ICE
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) {
|
} else if let Err(guar) = infcx.tcx.check_potentially_region_dependent_goals(root_def_id) {
|
||||||
Err(guar)
|
Err(guar)
|
||||||
} else {
|
} else {
|
||||||
Err(infcx
|
Err(infcx.dcx().delayed_bug(format!(
|
||||||
.dcx()
|
"errors selecting obligation during MIR typeck: {name} {root_def_id:?} {errors:?}"
|
||||||
.delayed_bug(format!("errors selecting obligation during MIR typeck: {errors:?}")))
|
)))
|
||||||
}
|
}
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user