{"ast_node_type":"other","tokens":[{"end":54,"kind":"keyword","start":0,"text":"&&"}]}
                && segment.ident.name.as_str() == name
                && let [segment] = path.segments
                && let Res::Local(hir_id) = path.res