about summary refs log tree commit diff
path: root/src/test/ui/parser/self-in-function-arg.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/self-in-function-arg.stderr')
-rw-r--r--src/test/ui/parser/self-in-function-arg.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/parser/self-in-function-arg.stderr b/src/test/ui/parser/self-in-function-arg.stderr
index e1fc10306cc..f58df9b9e79 100644
--- a/src/test/ui/parser/self-in-function-arg.stderr
+++ b/src/test/ui/parser/self-in-function-arg.stderr
@@ -1,10 +1,10 @@
-error: unexpected `self` argument in function
+error: unexpected `self` parameter in function
   --> $DIR/self-in-function-arg.rs:1:15
    |
 LL | fn foo(x:i32, self: i32) -> i32 { self }
-   |               ^^^^ not valid as function argument
+   |               ^^^^ not valid as function parameter
    |
-   = note: `self` is only valid as the first argument of an associated function
+   = note: `self` is only valid as the first parameter of an associated function
 
 error: aborting due to previous error