{"ast_node_type":"function","tokens":[{"end":66,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn new_closure(def: ClosureDef, args: GenericArgs) -> Ty {
    /// Create a new closure type.
        Ty::from_rigid_kind(RigidTy::Closure(def, args))