{"ast_node_type":"function","tokens":[{"end":70,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn discriminant_for_variant(&self, idx: VariantIdx) -> Discr {
        with(|cx| cx.adt_discr_for_variant(*self, idx))