about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-17 14:27:20 +0000
committerbors <bors@rust-lang.org>2023-11-17 14:27:20 +0000
commit069a4af48b4b2111ff65f3895edb425683e6ae8a (patch)
treefc847b662db759210c4d33e130759686071083ea /compiler/rustc_codegen_ssa/src/debuginfo
parent4d7f952a02d0bca67c98a6b74895b7e3fbe38341 (diff)
parent40b154e53c0e04ff4cfd40d43d8e2b86b143b763 (diff)
downloadrust-069a4af48b4b2111ff65f3895edb425683e6ae8a.tar.gz
rust-069a4af48b4b2111ff65f3895edb425683e6ae8a.zip
Auto merge of #117944 - lcnr:region-refactor-uwu, r=BoxyUwU
some additional region refactorings

the commits are selfcontained ✨

r? `@BoxyUwU`
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())
                     })