parent
c40919b7a7
commit
30cf7a3f51
51 changed files with 208 additions and 211 deletions
|
@ -493,6 +493,9 @@ impl<'tcx> LowerInto<'tcx, chalk_ir::Lifetime<RustInterner<'tcx>>> for Region<'t
|
|||
ty::ReEarlyBound(_) => {
|
||||
panic!("Should have already been substituted.");
|
||||
}
|
||||
ty::ReError => {
|
||||
panic!("Error lifetime should not have already been lowered.");
|
||||
}
|
||||
ty::ReLateBound(db, br) => chalk_ir::LifetimeData::BoundVar(chalk_ir::BoundVar::new(
|
||||
chalk_ir::DebruijnIndex::new(db.as_u32()),
|
||||
br.var.as_usize(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue