cmd/compile/internal/types2: match compiler error for invalid type alias decl
cmd/compile/internal/types2: match compiler error for invalid type alias decl

Fixes #45594.

Change-Id: I2fcc784e6908403dd96b009546e1ac2f53b9f0e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/314776
Trust: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>
Trust: Dan Scales <7338a4f274e3bf1354488b9d1f344f4c9a69a8fb@google.com>
Run-TryBot: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Dan Scales <7338a4f274e3bf1354488b9d1f344f4c9a69a8fb@google.com>

CAFxX/go,cloudflare/go,CAFxX/go,nawawi/go,nawawi/go,cloudflare/go,nawawi/go,golang/go,golang/go,golang/go,CAFxX/go,CAFxX/go,cloudflare/go,golang/go,cloudflare/go,nawawi/go,cloudflare/go,CAFxX/go,nawawi/go,golang/go,golang/go,nawawi/go,CAFxX/go,CAFxX/go,nawawi/go,CAFxX/go,cloudflare/go,golang/go,nawawi/go,cloudflare/go,cloudflare/go,golang/go