{"ast_node_type":"other","tokens":[{"end":45,"kind":"keyword","start":0,"text":"&&"}]}
            && def.did().as_local().is_some()
        } else if let ty::Adt(def, args) = ty.kind()
            && def.variants().iter().all(|variant| {