{"ast_node_type":"other","tokens":[{"end":32,"kind":"keyword","start":0,"text":"assert!(self.is_enum());"}]}
        assert!(self.is_enum());
    ) -> impl Iterator<Item = (VariantIdx, Discr<'tcx>)> {
        let repr_type = self.repr().discr_type();