about summary refs log tree commit diff
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
commit4e87728772dbc8c99246165a6c1bdf46b44ad952 (patch)
treeac3e00c845371f72a3ac7cb204d7037abdec99d0
parentbe82095e1ca0519187805647449aec8585be488e (diff)
downloadrust-4e87728772dbc8c99246165a6c1bdf46b44ad952.tar.gz
rust-4e87728772dbc8c99246165a6c1bdf46b44ad952.zip
Replace EarlyBinder(x) with EarlyBinder::new(x)
-rw-r--r--src/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs
index 5eaa988dd09..70cb6dfd66f 100644
--- a/src/common.rs
+++ b/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),
         )
     }