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-21 17:26:55 +0000
committerbors <bors@rust-lang.org>2023-11-21 17:26:55 +0000
commit49261152b5e78848da2dc9a26ae79da09bc466b8 (patch)
tree9afb6a02f553db48a41cc7c6eab6071a82bb8e2b /compiler/rustc_codegen_ssa/src/debuginfo
parent607208cd8dd54ca6e22246fdb13486556ff1ce6d (diff)
parentf1b944d1a2364f4baf4d1d9ce421fc4126adc6f5 (diff)
downloadrust-49261152b5e78848da2dc9a26ae79da09bc466b8.tar.gz
rust-49261152b5e78848da2dc9a26ae79da09bc466b8.zip
Auto merge of #3182 - RalfJung:rustup, r=RalfJung
Rustup
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())
                     })