{"ast_node_type":"other","tokens":[{"end":54,"kind":"keyword","start":0,"text":"&&"}]}
            && namespace.ident.name == sym::diagnostic
            && let [namespace, attribute, ..] = &*path.segments
            && ![sym::on_unimplemented, sym::do_not_recommend].contains(&attribute.ident.name)