rustc_mir_transform::remove_zsts

Function maybe_zst

Source
fn maybe_zst(ty: Ty<'_>) -> bool
Expand description

A cheap, approximate check to avoid unnecessary layout_of calls.