1
Fork 0

Rollup merge of #133732 - nnethercote:fix-Z-dump-mir-dataflow, r=compiler-errors

Fix `-Zdump-mir-dataflow`

r? `@cjgillot`
This commit is contained in:
Guillaume Gomez 2024-12-02 23:08:57 +01:00 committed by GitHub
commit 3586e4a326
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 19 additions and 21 deletions

View file

@ -680,7 +680,7 @@ fn locals_live_across_suspend_points<'tcx>(
let mut requires_storage_results =
MaybeRequiresStorage::new(borrowed_locals_results.into_results_cursor(body))
.iterate_to_fixpoint(tcx, body, None);
let mut requires_storage_cursor = requires_storage_results.as_results_cursor_mut(body);
let mut requires_storage_cursor = requires_storage_results.as_results_cursor(body);
// Calculate the liveness of MIR locals ignoring borrows.
let mut liveness =