{"ast_node_type":"function","tokens":[{"end":41,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn discriminant_ty(&self) -> Ty {
    /// Get the discriminant type for this type.
        with(|cx| cx.rigid_ty_discriminant_ty(self))