rust/compiler/rustc_mir_dataflow/src/impls
Nicholas Nethercote 3fe7dd6893 Remove unnecessary lifetimes in dataflow structs.
There are four related dataflow structs: `MaybeInitializedPlaces`,
`MaybeUninitializedPlaces`, and `EverInitializedPlaces`,
`DefinitelyInitializedPlaces`. They all have a `&Body` and a
`&MoveData<'tcx>` field. The first three use different lifetimes for the
two fields, but the last one uses the same lifetime for both.

This commit changes the first three to use the same lifetime, removing
the need for one of the lifetimes. Other structs that also lose a
lifetime as a result of this are `LivenessContext`, `LivenessResults`,
`InitializationData`.

It then does similar things in various other structs.
2024-09-09 16:14:18 +10:00
..
borrowed_locals.rs rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
initialized.rs Remove unnecessary lifetimes in dataflow structs. 2024-09-09 16:14:18 +10:00
liveness.rs rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
mod.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
storage_liveness.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00