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.