ci: fix the content of function_arg_mutable_err.out

pull/9477/head
Delyan Angelov 2021-03-26 15:06:29 +02:00
parent 7e6c511e06
commit a38fc89150
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
vlib/v/checker/tests/function_arg_mutable_err.vv:1:18: error: mutable arguments are only allowed for arrays, interfaces, maps, pointers and structs vlib/v/checker/tests/function_arg_mutable_err.vv:1:18: error: mutable arguments are only allowed for arrays, interfaces, maps, pointers, structs or their aliases
return values instead: `fn foo(mut n int) {` => `fn foo(n int) int {` return values instead: `fn foo(mut n int) {` => `fn foo(n int) int {`
1 | fn mod_ptr(mut a int) { 1 | fn mod_ptr(mut a int) {
| ~~~ | ~~~