{"ast_node_type":"variable","tokens":[{"end":63,"kind":"keyword","start":0,"text":"&&"}]}
            && let [namespace, attribute, ..] = &*path.segments
        if res == Res::NonMacroAttr(NonMacroAttrKind::Tool)
            && namespace.ident.name == sym::diagnostic