Function rustc_mir_transform::remove_zsts::maybe_zst
source · fn maybe_zst(ty: Ty<'_>) -> bool
Expand description
A cheap, approximate check to avoid unnecessary layout_of
calls.
fn maybe_zst(ty: Ty<'_>) -> bool
A cheap, approximate check to avoid unnecessary layout_of
calls.