```Go type String string func g[P any](P, string) {} var f func(int, String) = g ``` produces the error ([playground](https://go.dev/play/p/s1nDmPJuRdT?v=gotip)): ``` cannot use g (value of type func(int, string)) as func(int, String) value in variable declaration ``` but `String` and `string` are not identical and thus inference should have failed with a different error: ``` type func[P any](P, string) of g does not match func(int, String) ``` which is what is reported when `g` is passed to a function with a `func(int, String)` argument ([playground](https://go.dev/play/p/ggQ2eK1Af4L?v=gotip)). Marking for 1.21 because the fix should not be too hard, but ok to defer to 1.22. @findleyr for visibilty