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:
@@ -592,7 +592,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
||||
let kind = ty::BoundRegionKind::BrNamed(param.def_id, param.name);
|
||||
let bound_var = ty::BoundVariableKind::Region(kind);
|
||||
bound_vars.push(bound_var);
|
||||
ty::Region::new_late_bound(
|
||||
ty::Region::new_bound(
|
||||
tcx,
|
||||
ty::INNERMOST,
|
||||
ty::BoundRegion {
|
||||
|
||||
@@ -3103,7 +3103,7 @@ fn bind_coroutine_hidden_types_above<'tcx>(
|
||||
kind: ty::BrAnon,
|
||||
};
|
||||
counter += 1;
|
||||
ty::Region::new_late_bound(tcx, current_depth, br)
|
||||
ty::Region::new_bound(tcx, current_depth, br)
|
||||
}
|
||||
r => bug!("unexpected region: {r:?}"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user