rust/compiler/rustc_mir_dataflow/src
bors cd674d6179 Auto merge of #116300 - cjgillot:split-move, r=petrochenkov
Separate move path tracking between borrowck and drop elaboration.

The primary goal of this PR is to skip creating a `MovePathIndex` for path that do not need dropping in drop elaboration.

The 2 first commits are cleanups.

The next 2 commits displace `move` errors from move-path builder to borrowck. Move-path builder keeps the same logic, but does not carry error information any more.

The remaining commits allow to filter `MovePathIndex` creation according to types. This is used in drop elaboration, to avoid computing dataflow for paths that do not need dropping.
2023-10-24 00:25:32 +00:00
..
framework use visibility to check unused imports and delete some stmts 2023-10-22 21:27:46 +08:00
impls Remove on_all_drop_children_bits. 2023-10-21 10:33:37 +00:00
move_paths Use terse form for Fn bound. 2023-10-21 12:09:02 +00:00
debuginfo.rs Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
drop_flag_effects.rs Remove on_all_drop_children_bits. 2023-10-21 10:33:37 +00:00
elaborate_drops.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
errors.rs
lib.rs Remove on_all_drop_children_bits. 2023-10-21 10:33:37 +00:00
rustc_peek.rs Parametrize gather_moves by filter. 2023-10-21 10:31:39 +00:00
storage.rs
un_derefer.rs
value_analysis.rs Improve naming and comments. 2023-10-21 07:01:25 +00:00