rustc_parse::validate_attr

Function emit_malformed_attribute

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