Function rustc_lint::map_unit_fn::is_unit_type

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