E4128

E4128#

Compiler diagnostic name: invalid_type_alias_target.

Target of type alias must not be a type parameter.

Erroneous example#

type Wrap[T] = T

Suggestion#

Use the type directly without using a typealias:

pub fn[T] id(value : T) -> T {
  value
}