{"ast_node_type":"function","tokens":[{"end":70,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn new_coroutine(def: CoroutineDef, args: GenericArgs) -> Ty {
    /// Create a new coroutine type.
        Ty::from_rigid_kind(RigidTy::Coroutine(def, args))