about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/jump_threading.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-05-27 08:24:23 +0200
committerRalf Jung <post@ralfj.de>2024-05-27 08:25:57 +0200
commite8379c9598d703ec26b967e9654d016c21497beb (patch)
tree8146ad8e2de7ddbf8e57eb9d8dfd08d0e86f321a /compiler/rustc_mir_transform/src/jump_threading.rs
parent36d36a3e1f3d761bed333b8eb41f7f70517fada0 (diff)
downloadrust-e8379c9598d703ec26b967e9654d016c21497beb.tar.gz
rust-e8379c9598d703ec26b967e9654d016c21497beb.zip
interpret: get rid of 'mir lifetime everywhere
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 ae807655b68..23cc0c46e73 100644
--- a/compiler/rustc_mir_transform/src/jump_threading.rs
+++ b/compiler/rustc_mir_transform/src/jump_threading.rs
@@ -155,7 +155,7 @@ struct ThreadingOpportunity {
 struct TOFinder<'tcx, 'a> {
     tcx: TyCtxt<'tcx>,
     param_env: ty::ParamEnv<'tcx>,
-    ecx: InterpCx<'tcx, 'tcx, DummyMachine>,
+    ecx: InterpCx<'tcx, DummyMachine>,
     body: &'a Body<'tcx>,
     map: &'a Map,
     loop_headers: &'a BitSet<BasicBlock>,