const internal/types/errors.MisplacedTypeParam
7 uses
internal/types/errors (current package)
code_string.go#L152: _ = x[MisplacedTypeParam-144]
codes.go#L1407: MisplacedTypeParam
go/types
decl.go#L651: check.error(tdecl.Type, MisplacedTypeParam, "cannot use a type parameter as RHS in type declaration")
decl.go#L698: check.error(f.Type, MisplacedTypeParam, "cannot use a type parameter as constraint")
struct.go#L165: check.error(embeddedPos, MisplacedTypeParam, "embedded field type cannot be a (pointer to a) type parameter")
union.go#L154: check.errorf(x, MisplacedTypeParam, "type in term %s cannot be a type parameter", tx)
union.go#L156: check.error(x, MisplacedTypeParam, "term cannot be a type parameter")