rustc_parse::validate_attr

Function emit_malformed_attribute

source
fn emit_malformed_attribute(
    psess: &ParseSess,
    style: AttrStyle,
    span: Span,
    name: Symbol,
    template: AttributeTemplate,
)