aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/builtins.src
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/testdata/builtins.src')
-rw-r--r--src/go/types/testdata/builtins.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/testdata/builtins.src b/src/go/types/testdata/builtins.src
index 98830eb08c..a7613adc35 100644
--- a/src/go/types/testdata/builtins.src
+++ b/src/go/types/testdata/builtins.src
@@ -283,7 +283,7 @@ func delete1() {
delete() // ERROR not enough arguments
delete(1) // ERROR not enough arguments
delete(1, 2, 3) // ERROR too many arguments
- delete(m, 0 /* ERROR not assignable */)
+ delete(m, 0 /* ERROR cannot use */)
delete(m, s)
_ = delete /* ERROR used as value */ (m, s)