{"ast_node_type":"other","tokens":[{"end":37,"kind":"keyword","start":0,"text":"Some(discr_value.to_scalar())"}]}
        Some(discr_value.to_scalar())
            self.ecx.discriminant_for_variant(enum_ty_layout.ty, variant_index).discard_err()?;
    }