aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/fixedbugs/issue39948.go2
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/testdata/fixedbugs/issue39948.go2')
-rw-r--r--src/go/types/testdata/fixedbugs/issue39948.go22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/testdata/fixedbugs/issue39948.go2 b/src/go/types/testdata/fixedbugs/issue39948.go2
index c2b460902c..e38e57268d 100644
--- a/src/go/types/testdata/fixedbugs/issue39948.go2
+++ b/src/go/types/testdata/fixedbugs/issue39948.go2
@@ -5,5 +5,5 @@
package p
type T[P any] interface{
- P // ERROR P is a type parameter, not an interface
+ P // ERROR cannot embed a type parameter
}