@@ -9,7 +9,7 @@ help: if this is a `self` type, give it a parameter name
9
9
|
10
10
LL | fn foo(self: i32);
11
11
| ^^^^^^^^^
12
- help: if this was a parameter name, give it a type
12
+ help: if this is a parameter name, give it a type
13
13
|
14
14
LL | fn foo(i32: TypeName);
15
15
| ^^^^^^^^^^^^^
@@ -29,7 +29,7 @@ help: if this is a `self` type, give it a parameter name
29
29
|
30
30
LL | fn bar_with_default_impl(self: String, String) {}
31
31
| ^^^^^^^^^^^^
32
- help: if this was a parameter name, give it a type
32
+ help: if this is a parameter name, give it a type
33
33
|
34
34
LL | fn bar_with_default_impl(String: TypeName, String) {}
35
35
| ^^^^^^^^^^^^^^^^
@@ -45,7 +45,7 @@ LL | fn bar_with_default_impl(String, String) {}
45
45
| ^ expected one of `:`, `@`, or `|`
46
46
|
47
47
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
48
- help: if this was a parameter name, give it a type
48
+ help: if this is a parameter name, give it a type
49
49
|
50
50
LL | fn bar_with_default_impl(String, String: TypeName) {}
51
51
| ^^^^^^^^^^^^^^^^
@@ -61,7 +61,7 @@ LL | fn baz(a:usize, b, c: usize) -> usize {
61
61
| ^ expected one of `:`, `@`, or `|`
62
62
|
63
63
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
64
- help: if this was a parameter name, give it a type
64
+ help: if this is a parameter name, give it a type
65
65
|
66
66
LL | fn baz(a:usize, b: TypeName, c: usize) -> usize {
67
67
| ^^^^^^^^^^^
0 commit comments