about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-05-29 13:46:10 +0200
committerlcnr <rust@lcnr.de>2023-05-29 13:46:10 +0200
commit08d149ca85b1afe0c554310bd203bd9d1a3f8bb2 (patch)
treeb96bf227388ec01b5d77ec693c625d276282ec9c /compiler/rustc_codegen_llvm/src
parent70e04bd88d85cab8ed110ace5a278fab106d0ef5 (diff)
downloadrust-08d149ca85b1afe0c554310bd203bd9d1a3f8bb2.tar.gz
rust-08d149ca85b1afe0c554310bd203bd9d1a3f8bb2.zip
EarlyBinder::new -> EarlyBinder::bind
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-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)