about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/common.rs
diff options
context:
space:
mode:
authorKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-05-26 11:19:35 -0600
committerKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-05-28 10:44:50 -0600
commit03534ac8b70de1134ce7e91b172cd629048a6c8b (patch)
tree3ad32332510ba0986bf9cdb52ac1901ec13813b7 /compiler/rustc_codegen_cranelift/src/common.rs
parent39c03fb65268e3331f381714c664a581a6e86b8c (diff)
downloadrust-03534ac8b70de1134ce7e91b172cd629048a6c8b.tar.gz
rust-03534ac8b70de1134ce7e91b172cd629048a6c8b.zip
Replace EarlyBinder(x) with EarlyBinder::new(x)
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/common.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/common.rs b/compiler/rustc_codegen_cranelift/src/common.rs
index 5eaa988dd09..70cb6dfd66f 100644
--- a/compiler/rustc_codegen_cranelift/src/common.rs
+++ b/compiler/rustc_codegen_cranelift/src/common.rs
@@ -361,7 +361,7 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> {
         self.instance.subst_mir_and_normalize_erasing_regions(
             self.tcx,
             ty::ParamEnv::reveal_all(),
-            ty::EarlyBinder(value),
+            ty::EarlyBinder::new(value),
         )
     }