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.