aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue26855.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue26855.go')
-rw-r--r--test/fixedbugs/issue26855.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue26855.go b/test/fixedbugs/issue26855.go
index 144e4415f7..b965635a65 100644
--- a/test/fixedbugs/issue26855.go
+++ b/test/fixedbugs/issue26855.go
@@ -20,9 +20,9 @@ type P struct {
type T struct{}
var _ = S{
- f: &T{}, // ERROR "cannot use &T{}"
+ f: &T{}, // ERROR "cannot use &T{}|incompatible type"
}
var _ = P{
- f: T{}, // ERROR "cannot use T{}"
+ f: T{}, // ERROR "cannot use T{}|incompatible type"
}