about summary refs log tree commit diff
path: root/tests/ui/mir-dataflow
AgeCommit message (Collapse)AuthorLines
2025-04-16Improve `borrowck_graphviz_*` documentation.Nicholas Nethercote-9/+0
In particular, `borrowck_graphviz_preflow` no longer exists.
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-0/+12
2024-11-22Remove the `DefinitelyInitializedPlaces` analysis.Nicholas Nethercote-79/+0
Its only use is in the `tests/ui/mir-dataflow/def_inits-1.rs` where it is tested via `rustc_peek_definite_init`. Also, it's probably buggy. It's supposed to be the inverse of `MaybeUninitializedPlaces`, and it mostly is, except that `apply_terminator_effect` is a little different, and `apply_switch_int_edge_effects` is missing. Unlike `MaybeUninitializedPlaces`, which is used extensively in borrow checking, any bugs in `DefinitelyInitializedPlaces` are easy to overlook because it is only used in one small test. This commit removes the analysis. It also removes `rustc_peek_definite_init`, `Dual` and `MeetSemiLattice`, all of which are no longer needed.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+444