title: MisplacedTypeParam layout: article

MisplacedTypeParam occurs when a type parameter is used in a place where
it is not permitted.

Example:
 type T[P any] P

Example:
 type T[P any] struct{ *P }