{"ast_node_type":"function","tokens":[{"end":85,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn rigid_ty_discriminant_ty(&self, internal_kind: TyKind<'tcx>) -> Ty<'tcx> {
    /// Get the discriminant Ty for this Ty if there's one.
        let internal_ty = self.tcx.mk_ty_from_kind(internal_kind);