Function rustc_mir::transform::remove_zsts::maybe_zst [−][src]
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.