diff options
author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-04-14 09:59:03 -0600 |
---|---|---|
committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-05-06 22:32:39 -0600 |
commit | 82f57c16b7f362c8f6509b9c334403d81a11beed (patch) | |
tree | 883af19027f91b9a39b50361b483bed537ee99ca /compiler/rustc_codegen_cranelift | |
parent | e5d10cdbc36d80dcfa1c25ce6bd64b213674fe74 (diff) | |
download | rust-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.rs | 2 |
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), ) } |