rename ReLateBound to ReBound
other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound`
This commit is contained in:
@@ -319,9 +319,9 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
|
||||
// shorter mangling of `L_`.
|
||||
ty::ReErased => 0,
|
||||
|
||||
// Late-bound lifetimes use indices starting at 1,
|
||||
// Bound lifetimes use indices starting at 1,
|
||||
// see `BinderLevel` for more details.
|
||||
ty::ReLateBound(debruijn, ty::BoundRegion { var, kind: ty::BrAnon }) => {
|
||||
ty::ReBound(debruijn, ty::BoundRegion { var, kind: ty::BrAnon }) => {
|
||||
let binder = &self.binders[self.binders.len() - 1 - debruijn.index()];
|
||||
let depth = binder.lifetime_depths.start + var.as_u32();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user