{"ast_node_type":"function","tokens":[{"end":60,"kind":"keyword","start":0,"text":"fn"}]}
    fn rigid_ty_discriminant_ty(&self, ty: &RigidTy) -> Ty {
    /// Get the discriminant Ty for this Ty if there's one.
        let mut tables = self.tables.borrow_mut();