Function rustc_lint::map_unit_fn::is_unit_type

source ·
fn is_unit_type(ty: Ty<'_>) -> bool