{"ast_node_type":"other","tokens":[{"end":90,"kind":"keyword","start":0,"text":"//"}]}
                // Convert discriminant to variant index, and catch invalid discriminants.
                let discr_bits = discr_val.to_scalar().to_bits(discr_layout.size)?;
                let index = match *ty.kind() {