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