1
Fork 0

Change to ReError(ErrorGuaranteed)

This commit is contained in:
Esteban Küber 2023-02-07 14:55:16 +00:00
parent ffaf2a5c27
commit 861f451235
23 changed files with 70 additions and 61 deletions

View file

@ -493,7 +493,7 @@ impl<'tcx> LowerInto<'tcx, chalk_ir::Lifetime<RustInterner<'tcx>>> for Region<'t
ty::ReEarlyBound(_) => {
panic!("Should have already been substituted.");
}
ty::ReError => {
ty::ReError(_) => {
panic!("Error lifetime should not have already been lowered.");
}
ty::ReLateBound(db, br) => chalk_ir::LifetimeData::BoundVar(chalk_ir::BoundVar::new(