@@ -2,7 +2,7 @@ error[E0061]: this function takes 0 arguments but 1 argument was supplied
2
2
--> $DIR/extra_arguments.rs:7:3
3
3
|
4
4
LL | empty("");
5
- | ^^^^^ -- argument of type `&'static str` unexpected
5
+ | ^^^^^ -- unexpected argument of type `&'static str`
6
6
|
7
7
note: function defined here
8
8
--> $DIR/extra_arguments.rs:1:4
@@ -19,7 +19,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
19
19
--> $DIR/extra_arguments.rs:9:3
20
20
|
21
21
LL | one_arg(1, 1);
22
- | ^^^^^^^ - argument of type `{integer}` unexpected
22
+ | ^^^^^^^ - unexpected argument of type `{integer}`
23
23
|
24
24
note: function defined here
25
25
--> $DIR/extra_arguments.rs:2:4
@@ -36,7 +36,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
36
36
--> $DIR/extra_arguments.rs:10:3
37
37
|
38
38
LL | one_arg(1, "");
39
- | ^^^^^^^ -- argument of type `&'static str` unexpected
39
+ | ^^^^^^^ -- unexpected argument of type `&'static str`
40
40
|
41
41
note: function defined here
42
42
--> $DIR/extra_arguments.rs:2:4
@@ -53,9 +53,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
53
53
--> $DIR/extra_arguments.rs:11:3
54
54
|
55
55
LL | one_arg(1, "", 1.0);
56
- | ^^^^^^^ -- --- argument of type `{float}` unexpected
56
+ | ^^^^^^^ -- --- unexpected argument of type `{float}`
57
57
| |
58
- | argument of type `&'static str` unexpected
58
+ | unexpected argument of type `&'static str`
59
59
|
60
60
note: function defined here
61
61
--> $DIR/extra_arguments.rs:2:4
@@ -72,7 +72,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
72
72
--> $DIR/extra_arguments.rs:13:3
73
73
|
74
74
LL | two_arg_same(1, 1, 1);
75
- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
75
+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
76
76
|
77
77
note: function defined here
78
78
--> $DIR/extra_arguments.rs:3:4
@@ -89,7 +89,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
89
89
--> $DIR/extra_arguments.rs:14:3
90
90
|
91
91
LL | two_arg_same(1, 1, 1.0);
92
- | ^^^^^^^^^^^^ --- argument of type `{float}` unexpected
92
+ | ^^^^^^^^^^^^ --- unexpected argument of type `{float}`
93
93
|
94
94
note: function defined here
95
95
--> $DIR/extra_arguments.rs:3:4
@@ -106,7 +106,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
106
106
--> $DIR/extra_arguments.rs:16:3
107
107
|
108
108
LL | two_arg_diff(1, 1, "");
109
- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
109
+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
110
110
|
111
111
note: function defined here
112
112
--> $DIR/extra_arguments.rs:4:4
@@ -123,7 +123,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
123
123
--> $DIR/extra_arguments.rs:17:3
124
124
|
125
125
LL | two_arg_diff(1, "", "");
126
- | ^^^^^^^^^^^^ -- argument of type `&'static str` unexpected
126
+ | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
127
127
|
128
128
note: function defined here
129
129
--> $DIR/extra_arguments.rs:4:4
@@ -140,9 +140,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
140
140
--> $DIR/extra_arguments.rs:18:3
141
141
|
142
142
LL | two_arg_diff(1, 1, "", "");
143
- | ^^^^^^^^^^^^ - -- argument of type `&'static str` unexpected
143
+ | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
144
144
| |
145
- | argument of type `{integer}` unexpected
145
+ | unexpected argument of type `{integer}`
146
146
|
147
147
note: function defined here
148
148
--> $DIR/extra_arguments.rs:4:4
@@ -159,9 +159,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
159
159
--> $DIR/extra_arguments.rs:19:3
160
160
|
161
161
LL | two_arg_diff(1, "", 1, "");
162
- | ^^^^^^^^^^^^ - -- argument of type `&'static str` unexpected
162
+ | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
163
163
| |
164
- | argument of type `{integer}` unexpected
164
+ | unexpected argument of type `{integer}`
165
165
|
166
166
note: function defined here
167
167
--> $DIR/extra_arguments.rs:4:4
@@ -178,7 +178,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
178
178
--> $DIR/extra_arguments.rs:22:3
179
179
|
180
180
LL | two_arg_same(1, 1, "");
181
- | ^^^^^^^^^^^^ -- argument of type `&'static str` unexpected
181
+ | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
182
182
|
183
183
note: function defined here
184
184
--> $DIR/extra_arguments.rs:3:4
@@ -195,7 +195,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
195
195
--> $DIR/extra_arguments.rs:23:3
196
196
|
197
197
LL | two_arg_diff(1, 1, "");
198
- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
198
+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
199
199
|
200
200
note: function defined here
201
201
--> $DIR/extra_arguments.rs:4:4
@@ -215,7 +215,7 @@ LL | two_arg_same(
215
215
| ^^^^^^^^^^^^
216
216
...
217
217
LL | ""
218
- | -- argument of type `&'static str` unexpected
218
+ | -- unexpected argument of type `&'static str`
219
219
|
220
220
note: function defined here
221
221
--> $DIR/extra_arguments.rs:3:4
@@ -235,7 +235,7 @@ LL | two_arg_diff(
235
235
| ^^^^^^^^^^^^
236
236
LL | 1,
237
237
LL | 1,
238
- | - argument of type `{integer}` unexpected
238
+ | - unexpected argument of type `{integer}`
239
239
|
240
240
note: function defined here
241
241
--> $DIR/extra_arguments.rs:4:4
0 commit comments