1 2 3 4 5 6
package noresult func hello[T any]() { var z T return // want `no result values expected|too many return values` }