1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:30:22 -07:00

test: match gofrontend error messages

fixedbugs/issue11614.go:14:9: error: interface contains embedded non-interface
fixedbugs/issue11614.go:22:20: error: interface contains embedded non-interface

Change-Id: Ie9875916697833f5fa28ab890218851a741120ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/278175
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Ian Lance Taylor 2020-12-14 22:27:32 -08:00
parent 3d6467824c
commit 685a322fe4

View File

@ -19,7 +19,7 @@ func n() {
}
func m() {
(interface{int}) // ERROR "interface contains embedded non-interface int" "type interface { int } is not an expression"
(interface{int}) // ERROR "interface contains embedded non-interface" "type interface { int } is not an expression"
}
func main() {