summaryrefslogtreecommitdiff
path: root/compiler/rustc_codegen_cranelift
diff options
context:
space:
mode:
authorKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-04-14 09:59:03 -0600
committerKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-05-06 22:32:39 -0600
commit82f57c16b7f362c8f6509b9c334403d81a11beed (patch)
tree883af19027f91b9a39b50361b483bed537ee99ca /compiler/rustc_codegen_cranelift
parente5d10cdbc36d80dcfa1c25ce6bd64b213674fe74 (diff)
downloadrust-82f57c16b7f362c8f6509b9c334403d81a11beed.tar.gz
use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
-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 264b95e7abd..ccb3a0c4f27 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(),
- value,
+ ty::EarlyBinder(value),
)
}