{"ast_node_type":"other","tokens":[{"end":32,"kind":"keyword","start":0,"text":"assert!(self.is_enum());"}]}
        assert!(self.is_enum());
    ) -> Discr<'tcx> {
        let (val, offset) = self.discriminant_def_for_variant(variant_index);