summaryrefslogtreecommitdiff
path: root/test/rename1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/rename1.go')
-rw-r--r--test/rename1.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rename1.go b/test/rename1.go
index eb98e7acc..2224773e9 100644
--- a/test/rename1.go
+++ b/test/rename1.go
@@ -7,10 +7,10 @@
package main
func main() {
- var n byte; // ERROR "not a type"
- var y = float(0); // ERROR "cannot call"
+ var n byte; // ERROR "not a type|expected type"
+ var y = float(0); // ERROR "cannot call|expected function"
const (
- a = 1+iota; // ERROR "string"
+ a = 1+iota; // ERROR "string|incompatible types"
)
}