diff --git a/doc/go1.18.html b/doc/go1.18.html index 59a307a438..9cb3cae20d 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -97,6 +97,12 @@ Do not send CLs removing the interior tags from such phrases. The Go compiler cannot currently handle type declarations inside generic functions or methods. We hope to provide support for this feature in Go 1.19. +
  • + Embedding a type parameter, or a pointer to a type parameter, as + an unnamed field in a struct type is not permitted. Similarly + embedding a type parameter in an interface type is not permitted. + Whether these will ever be permitted is unclear at present. +