pub(crate) fn can_have_generics(kind: &DefKind) -> bool
Whether the item can have generic parameters.