rustc_
mir_
transform
1.85.0-nightly
(426d17342 2024-12-21)
Module add_
moves_
for_
packed_
drops
Module Items
Structs
Functions
In crate rustc_
mir_
transform
rustc_mir_transform
Module
add_moves_for_packed_drops
Copy item path
Source
Structs
ยง
AddMoves
ForPacked
Drops
๐
This pass moves values being dropped that are within a packed struct to a separate local before dropping them, to ensure that they are dropped from an aligned address.
Functions
ยง
add_
move_
for_
packed_
drop
๐