{"ast_node_type":"variable","tokens":[{"end":46,"kind":"keyword","start":0,"text":"let"}]}
                let index = match *ty.kind() {
                // Convert discriminant to variant index, and catch invalid discriminants.
                    ty::Adt(adt, _) => {