about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/jump_threading.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-20 06:22:01 +0000
committerbors <bors@rust-lang.org>2024-11-20 06:22:01 +0000
commit70e814bd9e532a302763f870c665c5af59c2b632 (patch)
treee17f062fe5e3c01ed7127c9365d828e681d3c514 /compiler/rustc_mir_transform/src/jump_threading.rs
parentbcfea1f8d253fd43eab36832fa601d192ac603d5 (diff)
parent002efeb72ac465cf04660537ca902172ab0e491b (diff)
downloadrust-70e814bd9e532a302763f870c665c5af59c2b632.tar.gz
rust-70e814bd9e532a302763f870c665c5af59c2b632.zip
Auto merge of #133212 - lcnr:questionable-uwu, r=compiler-errors
continue `ParamEnv` to `TypingEnv` transition

cc #132279

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_mir_transform/src/jump_threading.rs')
-rw-r--r--compiler/rustc_mir_transform/src/jump_threading.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/jump_threading.rs b/compiler/rustc_mir_transform/src/jump_threading.rs
index 71a843a785c..5c2c36db0f7 100644
--- a/compiler/rustc_mir_transform/src/jump_threading.rs
+++ b/compiler/rustc_mir_transform/src/jump_threading.rs
@@ -82,7 +82,7 @@ impl<'tcx> crate::MirPass<'tcx> for JumpThreading {
         let mut finder = TOFinder {
             tcx,
             typing_env,
-            ecx: InterpCx::new(tcx, DUMMY_SP, typing_env.param_env, DummyMachine),
+            ecx: InterpCx::new(tcx, DUMMY_SP, typing_env, DummyMachine),
             body,
             arena,
             map: Map::new(tcx, body, Some(MAX_PLACES)),