我正在调用另一个库中的函数,其返回签名定义如下:

(*studentlib.Student[StudentResponse], error)
Student
type Student[T any] struct {
    st *students.Student
    xyz *T
}
StudentResponse
type StudentResponse struct {
    
}

在我的方法签名中,我将返回类型定义如下:

func abc() (*studentlib.Student[StudentResponse], error) {
   // do something here
}

但是对于函数返回参数,我不断得到如下错误:

missing ',' in parameter list

有人能帮忙吗?代码怎么了?