Function invalid_attr

Source
pub(crate) fn invalid_attr(attr: &Attribute) -> Diagnostic
Expand description

Returns an error diagnostic for an invalid attribute.