diff options
| author | bors <bors@rust-lang.org> | 2024-11-20 06:22:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-20 06:22:01 +0000 |
| commit | 70e814bd9e532a302763f870c665c5af59c2b632 (patch) | |
| tree | e17f062fe5e3c01ed7127c9365d828e681d3c514 /compiler/rustc_mir_transform/src/jump_threading.rs | |
| parent | bcfea1f8d253fd43eab36832fa601d192ac603d5 (diff) | |
| parent | 002efeb72ac465cf04660537ca902172ab0e491b (diff) | |
| download | rust-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.rs | 2 |
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)), |
