@@ -17,9 +17,9 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
17
17
--> $DIR/extra_arguments.rs:20:3
18
18
|
19
19
LL | empty(1, 1);
20
- | ^^^^^ - - unexpected argument of type `{integer}`
20
+ | ^^^^^ - - unexpected #2 argument of type `{integer}`
21
21
| |
22
- | unexpected argument of type `{integer}`
22
+ | unexpected #1 argument of type `{integer}`
23
23
|
24
24
note: function defined here
25
25
--> $DIR/extra_arguments.rs:1:4
@@ -38,7 +38,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
38
38
LL | one_arg(1, 1);
39
39
| ^^^^^^^ ---
40
40
| | |
41
- | | unexpected argument of type `{integer}`
41
+ | | unexpected #2 argument of type `{integer}`
42
42
| help: remove the extra argument
43
43
|
44
44
note: function defined here
@@ -53,7 +53,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
53
53
LL | one_arg(1, "");
54
54
| ^^^^^^^ ----
55
55
| | |
56
- | | unexpected argument of type `&'static str`
56
+ | | unexpected #2 argument of type `&'static str`
57
57
| help: remove the extra argument
58
58
|
59
59
note: function defined here
@@ -66,9 +66,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
66
66
--> $DIR/extra_arguments.rs:24:3
67
67
|
68
68
LL | one_arg(1, "", 1.0);
69
- | ^^^^^^^ -- --- unexpected argument of type `{float}`
69
+ | ^^^^^^^ -- --- unexpected #3 argument of type `{float}`
70
70
| |
71
- | unexpected argument of type `&'static str`
71
+ | unexpected #2 argument of type `&'static str`
72
72
|
73
73
note: function defined here
74
74
--> $DIR/extra_arguments.rs:2:4
@@ -87,7 +87,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
87
87
LL | two_arg_same(1, 1, 1);
88
88
| ^^^^^^^^^^^^ ---
89
89
| | |
90
- | | unexpected argument of type `{integer}`
90
+ | | unexpected #3 argument of type `{integer}`
91
91
| help: remove the extra argument
92
92
|
93
93
note: function defined here
@@ -102,7 +102,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
102
102
LL | two_arg_same(1, 1, 1.0);
103
103
| ^^^^^^^^^^^^ -----
104
104
| | |
105
- | | unexpected argument of type `{float}`
105
+ | | unexpected #3 argument of type `{float}`
106
106
| help: remove the extra argument
107
107
|
108
108
note: function defined here
@@ -117,7 +117,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
117
117
LL | two_arg_diff(1, 1, "");
118
118
| ^^^^^^^^^^^^ ---
119
119
| | |
120
- | | unexpected argument of type `{integer}`
120
+ | | unexpected #2 argument of type `{integer}`
121
121
| help: remove the extra argument
122
122
|
123
123
note: function defined here
@@ -132,7 +132,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
132
132
LL | two_arg_diff(1, "", "");
133
133
| ^^^^^^^^^^^^ ----
134
134
| | |
135
- | | unexpected argument of type `&'static str`
135
+ | | unexpected #3 argument of type `&'static str`
136
136
| help: remove the extra argument
137
137
|
138
138
note: function defined here
@@ -145,9 +145,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
145
145
--> $DIR/extra_arguments.rs:31:3
146
146
|
147
147
LL | two_arg_diff(1, 1, "", "");
148
- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
148
+ | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
149
149
| |
150
- | unexpected argument of type `{integer}`
150
+ | unexpected #2 argument of type `{integer}`
151
151
|
152
152
note: function defined here
153
153
--> $DIR/extra_arguments.rs:4:4
@@ -164,9 +164,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
164
164
--> $DIR/extra_arguments.rs:32:3
165
165
|
166
166
LL | two_arg_diff(1, "", 1, "");
167
- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
167
+ | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
168
168
| |
169
- | unexpected argument of type `{integer}`
169
+ | unexpected #3 argument of type `{integer}`
170
170
|
171
171
note: function defined here
172
172
--> $DIR/extra_arguments.rs:4:4
@@ -185,7 +185,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
185
185
LL | two_arg_same(1, 1, "");
186
186
| ^^^^^^^^^^^^ --------
187
187
| | |
188
- | | unexpected argument of type `&'static str`
188
+ | | unexpected #3 argument of type `&'static str`
189
189
| help: remove the extra argument
190
190
|
191
191
note: function defined here
@@ -200,7 +200,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
200
200
LL | two_arg_diff(1, 1, "");
201
201
| ^^^^^^^^^^^^ ---
202
202
| | |
203
- | | unexpected argument of type `{integer}`
203
+ | | unexpected #2 argument of type `{integer}`
204
204
| help: remove the extra argument
205
205
|
206
206
note: function defined here
@@ -221,7 +221,7 @@ LL | | ""
221
221
| | --
222
222
| |_____||
223
223
| |help: remove the extra argument
224
- | unexpected argument of type `&'static str`
224
+ | unexpected #3 argument of type `&'static str`
225
225
|
226
226
note: function defined here
227
227
--> $DIR/extra_arguments.rs:3:4
@@ -239,7 +239,7 @@ LL | 1,
239
239
LL | | 1,
240
240
| | -
241
241
| | |
242
- | |_____unexpected argument of type `{integer}`
242
+ | |_____unexpected #2 argument of type `{integer}`
243
243
| help: remove the extra argument
244
244
|
245
245
note: function defined here
@@ -252,12 +252,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
252
252
--> $DIR/extra_arguments.rs:8:9
253
253
|
254
254
LL | empty($x, 1);
255
- | ^^^^^ - unexpected argument of type `{integer}`
255
+ | ^^^^^ - unexpected #2 argument of type `{integer}`
256
256
...
257
257
LL | foo!(1, ~);
258
258
| ----------
259
259
| | |
260
- | | unexpected argument of type `{integer}`
260
+ | | unexpected #1 argument of type `{integer}`
261
261
| in this macro invocation
262
262
|
263
263
note: function defined here
@@ -271,12 +271,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
271
271
--> $DIR/extra_arguments.rs:14:9
272
272
|
273
273
LL | empty(1, $y);
274
- | ^^^^^ - unexpected argument of type `{integer}`
274
+ | ^^^^^ - unexpected #1 argument of type `{integer}`
275
275
...
276
276
LL | foo!(~, 1);
277
277
| ----------
278
278
| | |
279
- | | unexpected argument of type `{integer}`
279
+ | | unexpected #2 argument of type `{integer}`
280
280
| in this macro invocation
281
281
|
282
282
note: function defined here
@@ -295,8 +295,8 @@ LL | empty($x, $y);
295
295
LL | foo!(1, 1);
296
296
| ----------
297
297
| | | |
298
- | | | unexpected argument of type `{integer}`
299
- | | unexpected argument of type `{integer}`
298
+ | | | unexpected #2 argument of type `{integer}`
299
+ | | unexpected #1 argument of type `{integer}`
300
300
| in this macro invocation
301
301
|
302
302
note: function defined here
@@ -312,7 +312,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
312
312
LL | one_arg(1, panic!());
313
313
| ^^^^^^^ ----------
314
314
| | |
315
- | | unexpected argument
315
+ | | unexpected #2 argument
316
316
| help: remove the extra argument
317
317
|
318
318
note: function defined here
@@ -327,7 +327,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
327
327
LL | one_arg(panic!(), 1);
328
328
| ^^^^^^^ ---
329
329
| | |
330
- | | unexpected argument of type `{integer}`
330
+ | | unexpected #2 argument of type `{integer}`
331
331
| help: remove the extra argument
332
332
|
333
333
note: function defined here
@@ -342,7 +342,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
342
342
LL | one_arg(stringify!($e), 1);
343
343
| ^^^^^^^ ---
344
344
| | |
345
- | | unexpected argument of type `{integer}`
345
+ | | unexpected #2 argument of type `{integer}`
346
346
| help: remove the extra argument
347
347
|
348
348
note: function defined here
@@ -357,7 +357,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
357
357
LL | one_arg(for _ in 1.. {}, 1);
358
358
| ^^^^^^^ ---
359
359
| | |
360
- | | unexpected argument of type `{integer}`
360
+ | | unexpected #2 argument of type `{integer}`
361
361
| help: remove the extra argument
362
362
|
363
363
note: function defined here
0 commit comments