Skip to content

Commit f1782ca

Browse files
committed
Remove into_engine invocation
1 parent f86a0e8 commit f1782ca

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/preempt_count/adjustment.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,7 @@ impl<'tcx> AnalysisCtxt<'tcx> {
287287
param_env,
288288
instance,
289289
}
290-
.into_engine(self.tcx, body)
291-
.iterate_to_fixpoint()
290+
.iterate_to_fixpoint(self.tcx, body, None)
292291
.into_results_cursor(body);
293292

294293
let mut adjustment = AdjustmentBoundsOrError::default();

src/preempt_count/expectation.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ impl<'tcx> AnalysisCtxt<'tcx> {
9292
param_env,
9393
instance,
9494
}
95-
.into_engine(self.tcx, body)
96-
.iterate_to_fixpoint()
95+
.iterate_to_fixpoint(self.tcx, body, None)
9796
.into_results_cursor(body);
9897

9998
for (b, data) in rustc_middle::mir::traversal::reachable(body) {
@@ -504,8 +503,7 @@ impl<'tcx> AnalysisCtxt<'tcx> {
504503
param_env,
505504
instance,
506505
}
507-
.into_engine(self.tcx, body)
508-
.iterate_to_fixpoint()
506+
.iterate_to_fixpoint(self.tcx, body, None)
509507
.into_results_cursor(body);
510508

511509
let mut expectation_infer = ExpectationRange::top();

0 commit comments

Comments
 (0)