{"ast_node_type":"function","tokens":[{"end":60,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn invalid_attr(attr: &Attribute) -> Diagnostic {
/// Returns an error diagnostic for an invalid attribute.
    let span = attr.span().unwrap();