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