{"ast_node_type":"function","tokens":[{"end":96,"kind":"keyword","start":0,"text":"fn"}]}
    fn check_must_be_applied_to_trait(&self, attr_span: Span, defn_span: Span, target: Target) {
    /// Checks if the attribute is applied to a trait.
        match target {