Per the spec:
In an alias declaration the given type cannot be a type parameter.
This matches the respective restriction we have for type definitions.
That said, we have quite a few (type checker) tests that declare local aliases for function type parameters.
This restriction should probably only apply to package-level alias declaration. But even that is not clear.
Needs to be investigated.
See also #75884.
cc: @findleyr @adonovan @mrkfrmn