about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-11-21 18:23:31 +0100
committerRalf Jung <post@ralfj.de>2023-11-21 18:23:31 +0100
commiteed24ac572eba9b6505525e08cc4b7b91c34e428 (patch)
tree40838be4cb9cfa74ceb9d39ed04c581d94ca4fa7 /compiler/rustc_codegen_ssa/src/debuginfo
parent9007cc484bdff639d3c8ab1304e6dd4257589f82 (diff)
parent329d015014a314f6131214d83d10b9d3b17d387d (diff)
downloadrust-eed24ac572eba9b6505525e08cc4b7b91c34e428.tar.gz
rust-eed24ac572eba9b6505525e08cc4b7b91c34e428.zip
Merge from rustc
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())
                     })