{"ast_node_type":"other","tokens":[{"end":66,"kind":"keyword","start":0,"text":"match"}]}
        match self.cx.structurally_resolve_type(span, ty).kind() {
        let ty = self.cx.typeck_results().node_type(pat_hir_id);
            ty::Adt(adt_def, _) => Ok(adt_def.variant(variant_index).fields.len()),