about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-31 09:20:10 +0000
committerbors <bors@rust-lang.org>2023-05-31 09:20:10 +0000
commitfb35803cb7990a12d83aab676fd546de00ca8b7f (patch)
tree8b8d894852929620765acaed378351244dc30701 /compiler/rustc_codegen_llvm/src/debuginfo
parent1ac91624d13624c164800fcd28cb234149ce0f5a (diff)
parent5304e40b93268fa8656945310a9b0c147e969519 (diff)
downloadrust-fb35803cb7990a12d83aab676fd546de00ca8b7f.tar.gz
rust-fb35803cb7990a12d83aab676fd546de00ca8b7f.zip
Auto merge of #2907 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs b/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
index 6cb9e163b40..64961baf272 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
@@ -93,7 +93,7 @@ fn make_mir_scope<'ll, 'tcx>(
             let callee = cx.tcx.subst_and_normalize_erasing_regions(
                 instance.substs,
                 ty::ParamEnv::reveal_all(),
-                ty::EarlyBinder::new(callee),
+                ty::EarlyBinder::bind(callee),
             );
             let callee_fn_abi = cx.fn_abi_of_instance(callee, ty::List::empty());
             cx.dbg_scope_fn(callee, callee_fn_abi, None)