Module rustc_mir_transform::remove_zsts
source · Expand description
Removes assignments to ZST places.
Structs
Functions
Miri lazily allocates memory for locals on assignment,
so we must preserve writes to unions and union fields,
or it will ICE on reads of those fields.
A cheap, approximate check to avoid unnecessary
layout_of
calls.