about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-11-17 09:29:48 +0000
committerlcnr <rust@lcnr.de>2023-11-17 09:29:48 +0000
commit40b154e53c0e04ff4cfd40d43d8e2b86b143b763 (patch)
tree5900fa11398c7cba1b9e2362fcefa79cc44c7879 /compiler/rustc_codegen_ssa/src/debuginfo
parent41cfb20abb1b33af6a1294cd09cdb1203249bd23 (diff)
downloadrust-40b154e53c0e04ff4cfd40d43d8e2b86b143b763.tar.gz
rust-40b154e53c0e04ff4cfd40d43d8e2b86b143b763.zip
rename bound region instantiation
- `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased`
- `replace_late_bound_regions_X` -> `instantiate_bound_regions_X`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
index 1a85eb8dd79..3c7e8873b4d 100644
--- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
+++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
@@ -249,7 +249,7 @@ fn push_debuginfo_type_name<'tcx>(
                     .projection_bounds()
                     .map(|bound| {
                         let ExistentialProjection { def_id: item_def_id, term, .. } =
-                            tcx.erase_late_bound_regions(bound);
+                            tcx.instantiate_bound_regions_with_erased(bound);
                         // FIXME(associated_const_equality): allow for consts here
                         (item_def_id, term.ty().unwrap())
                     })