{"ast_node_type":"variable","tokens":[{"end":59,"kind":"keyword","start":0,"text":"if"}]}
        if let Some(item) = self.diag_metadata.current_item
        err.span_label(span, "`Self` is only available in impls, traits, and type definitions");
            && let Some(ident) = item.kind.ident()