rustc_
mir_
transform
1.82.0
(f6e511eec 2024-10-15)
Module add_
moves_
for_
packed_
drops
Structs
Functions
In crate rustc_
mir_
transform
Module
rustc_mir_transform
::
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
🔒
add_
moves_
for_
packed_
drops
add_
moves_
for_
packed_
drops_
patch
🔒