{"ast_node_type":"other","tokens":[{"end":53,"kind":"keyword","start":0,"text":"Res::Def(kind"}]}
            Res::Def(kind @ DefKind::Variant, def_id)
            }
                if let PermitVariants::Yes = permit_variants =>