about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-12 12:45:38 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-12 12:45:38 +0000
commitd6656403a3cf211ce53d9f8f89d4bb22b3dc70e8 (patch)
treeed002e5eb42bd9daf6563ca36523873a5dee81cd
parentdfb11195da245a1f2fe04a4c976e49312a681edd (diff)
parentdb3faa78d0cdba3d90f559ce4d7a4e56a341950b (diff)
downloadrust-d6656403a3cf211ce53d9f8f89d4bb22b3dc70e8.tar.gz
rust-d6656403a3cf211ce53d9f8f89d4bb22b3dc70e8.zip
Sync from rust 2a8221dbdfd180a2d56d4b0089f4f3952d8c2bcd
-rw-r--r--src/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs
index 264b95e7abd..ccb3a0c4f27 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(),
-            value,
+            ty::EarlyBinder(value),
         )
     }