rust/compiler/rustc_mir_dataflow/src
Nicholas Nethercote 67df7cbf31 Simplify rustc_mir_dataflow::abs_domain.
`rustc_mir_dataflow` has a typedef `AbstractElem` that is equal to
`ProjectionElem<AbstractOperand, AbstractType>`. `AbstractOperand` and
`AbstractType` are both unit types. There is also has a trait `Lift` to
convert a `PlaceElem` to an `AbstractElem`.

But `rustc_mir_middle` already has a typedef `ProjectionKind` that is
equal to `ProjectionElem<(), ()>`, which is equivalent to
`AbstractElem`. So this commit reuses `ProjectionKind` in
`rustc_mir_dataflow`, removes `AbstractElem`, and simplifies the `Lift`
trait.
2024-12-11 10:45:47 +11:00
..
framework Rollup merge of #134065 - nnethercote:mv-write_graphviz_results, r=tmiasko 2024-12-10 13:51:12 +01:00
impls Rollup merge of #134065 - nnethercote:mv-write_graphviz_results, r=tmiasko 2024-12-10 13:51:12 +01:00
move_paths Simplify rustc_mir_dataflow::abs_domain. 2024-12-11 10:45:47 +11:00
debuginfo.rs Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
drop_flag_effects.rs compiler: Add rustc_abi dependence to the compiler 2024-10-27 21:10:58 -07:00
elaborate_drops.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
lib.rs Make some modules non-pub. 2024-11-26 12:05:57 +11:00
points.rs Remove ResultsVisitable. 2024-11-05 10:18:03 +11:00
rustc_peek.rs Remove the DefinitelyInitializedPlaces analysis. 2024-11-22 17:02:04 +11:00
un_derefer.rs Avoid unnecessary exports. 2023-11-23 14:06:57 +11:00
value_analysis.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00