rename bound region instantiation
- `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased` - `replace_late_bound_regions_X` -> `instantiate_bound_regions_X`
This commit is contained in:
parent
41cfb20abb
commit
40b154e53c
35 changed files with 78 additions and 69 deletions
|
@ -440,7 +440,7 @@ impl<'tcx> AstConv<'tcx> for ItemCtxt<'tcx> {
|
|||
second: format!(
|
||||
"{}::",
|
||||
// Replace the existing lifetimes with a new named lifetime.
|
||||
self.tcx.replace_late_bound_regions_uncached(
|
||||
self.tcx.instantiate_bound_regions_uncached(
|
||||
poly_trait_ref,
|
||||
|_| {
|
||||
ty::Region::new_early_param(self.tcx, ty::EarlyParamRegion {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue