@@ -19,9 +19,9 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
19
19
--> $DIR/extra_arguments.rs:20:3
20
20
|
21
21
LL | empty(1, 1);
22
- | ^^^^^ - - unexpected argument of type `{integer}`
22
+ | ^^^^^ - - unexpected argument #2 of type `{integer}`
23
23
| |
24
- | unexpected argument of type `{integer}`
24
+ | unexpected argument #1 of type `{integer}`
25
25
|
26
26
note: function defined here
27
27
--> $DIR/extra_arguments.rs:1:4
@@ -38,7 +38,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
38
38
--> $DIR/extra_arguments.rs:22:3
39
39
|
40
40
LL | one_arg(1, 1);
41
- | ^^^^^^^ - unexpected argument of type `{integer}`
41
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
42
42
|
43
43
note: function defined here
44
44
--> $DIR/extra_arguments.rs:2:4
@@ -55,7 +55,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
55
55
--> $DIR/extra_arguments.rs:23:3
56
56
|
57
57
LL | one_arg(1, "");
58
- | ^^^^^^^ -- unexpected argument of type `&'static str`
58
+ | ^^^^^^^ -- unexpected argument #2 of type `&'static str`
59
59
|
60
60
note: function defined here
61
61
--> $DIR/extra_arguments.rs:2:4
@@ -72,9 +72,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
72
72
--> $DIR/extra_arguments.rs:24:3
73
73
|
74
74
LL | one_arg(1, "", 1.0);
75
- | ^^^^^^^ -- --- unexpected argument of type `{float}`
75
+ | ^^^^^^^ -- --- unexpected argument #3 of type `{float}`
76
76
| |
77
- | unexpected argument of type `&'static str`
77
+ | unexpected argument #2 of type `&'static str`
78
78
|
79
79
note: function defined here
80
80
--> $DIR/extra_arguments.rs:2:4
@@ -91,7 +91,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
91
91
--> $DIR/extra_arguments.rs:26:3
92
92
|
93
93
LL | two_arg_same(1, 1, 1);
94
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
94
+ | ^^^^^^^^^^^^ - unexpected argument #3 of type `{integer}`
95
95
|
96
96
note: function defined here
97
97
--> $DIR/extra_arguments.rs:3:4
@@ -108,7 +108,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
108
108
--> $DIR/extra_arguments.rs:27:3
109
109
|
110
110
LL | two_arg_same(1, 1, 1.0);
111
- | ^^^^^^^^^^^^ --- unexpected argument of type `{float}`
111
+ | ^^^^^^^^^^^^ --- unexpected argument #3 of type `{float}`
112
112
|
113
113
note: function defined here
114
114
--> $DIR/extra_arguments.rs:3:4
@@ -125,7 +125,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
125
125
--> $DIR/extra_arguments.rs:29:3
126
126
|
127
127
LL | two_arg_diff(1, 1, "");
128
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
128
+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
129
129
|
130
130
note: function defined here
131
131
--> $DIR/extra_arguments.rs:4:4
@@ -142,7 +142,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
142
142
--> $DIR/extra_arguments.rs:30:3
143
143
|
144
144
LL | two_arg_diff(1, "", "");
145
- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
145
+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
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:31:3
160
160
|
161
161
LL | two_arg_diff(1, 1, "", "");
162
- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
162
+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
163
163
| |
164
- | unexpected argument of type `{integer}`
164
+ | unexpected argument #2 of type `{integer}`
165
165
|
166
166
note: function defined here
167
167
--> $DIR/extra_arguments.rs:4:4
@@ -178,9 +178,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
178
178
--> $DIR/extra_arguments.rs:32:3
179
179
|
180
180
LL | two_arg_diff(1, "", 1, "");
181
- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
181
+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
182
182
| |
183
- | unexpected argument of type `{integer}`
183
+ | unexpected argument #3 of type `{integer}`
184
184
|
185
185
note: function defined here
186
186
--> $DIR/extra_arguments.rs:4:4
@@ -197,7 +197,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
197
197
--> $DIR/extra_arguments.rs:35:3
198
198
|
199
199
LL | two_arg_same(1, 1, "");
200
- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
200
+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
201
201
|
202
202
note: function defined here
203
203
--> $DIR/extra_arguments.rs:3:4
@@ -214,7 +214,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
214
214
--> $DIR/extra_arguments.rs:36:3
215
215
|
216
216
LL | two_arg_diff(1, 1, "");
217
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
217
+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
218
218
|
219
219
note: function defined here
220
220
--> $DIR/extra_arguments.rs:4:4
@@ -234,7 +234,7 @@ LL | two_arg_same(
234
234
| ^^^^^^^^^^^^
235
235
...
236
236
LL | ""
237
- | -- unexpected argument of type `&'static str`
237
+ | -- unexpected argument #3 of type `&'static str`
238
238
|
239
239
note: function defined here
240
240
--> $DIR/extra_arguments.rs:3:4
@@ -255,7 +255,7 @@ LL | two_arg_diff(
255
255
| ^^^^^^^^^^^^
256
256
LL | 1,
257
257
LL | 1,
258
- | - unexpected argument of type `{integer}`
258
+ | - unexpected argument #2 of type `{integer}`
259
259
|
260
260
note: function defined here
261
261
--> $DIR/extra_arguments.rs:4:4
@@ -271,12 +271,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
271
271
--> $DIR/extra_arguments.rs:8:9
272
272
|
273
273
LL | empty($x, 1);
274
- | ^^^^^ - unexpected argument of type `{integer}`
274
+ | ^^^^^ - unexpected argument #2 of type `{integer}`
275
275
...
276
276
LL | foo!(1, ~);
277
277
| ----------
278
278
| | |
279
- | | unexpected argument of type `{integer}`
279
+ | | unexpected argument #1 of type `{integer}`
280
280
| in this macro invocation
281
281
|
282
282
note: function defined here
@@ -290,12 +290,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
290
290
--> $DIR/extra_arguments.rs:14:9
291
291
|
292
292
LL | empty(1, $y);
293
- | ^^^^^ - unexpected argument of type `{integer}`
293
+ | ^^^^^ - unexpected argument #1 of type `{integer}`
294
294
...
295
295
LL | foo!(~, 1);
296
296
| ----------
297
297
| | |
298
- | | unexpected argument of type `{integer}`
298
+ | | unexpected argument #2 of type `{integer}`
299
299
| in this macro invocation
300
300
|
301
301
note: function defined here
@@ -314,8 +314,8 @@ LL | empty($x, $y);
314
314
LL | foo!(1, 1);
315
315
| ----------
316
316
| | | |
317
- | | | unexpected argument of type `{integer}`
318
- | | unexpected argument of type `{integer}`
317
+ | | | unexpected argument #2 of type `{integer}`
318
+ | | unexpected argument #1 of type `{integer}`
319
319
| in this macro invocation
320
320
|
321
321
note: function defined here
@@ -329,7 +329,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
329
329
--> $DIR/extra_arguments.rs:53:3
330
330
|
331
331
LL | one_arg(1, panic!());
332
- | ^^^^^^^ -------- unexpected argument
332
+ | ^^^^^^^ -------- unexpected argument #2
333
333
|
334
334
note: function defined here
335
335
--> $DIR/extra_arguments.rs:2:4
@@ -346,7 +346,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
346
346
--> $DIR/extra_arguments.rs:54:3
347
347
|
348
348
LL | one_arg(panic!(), 1);
349
- | ^^^^^^^ - unexpected argument of type `{integer}`
349
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
350
350
|
351
351
note: function defined here
352
352
--> $DIR/extra_arguments.rs:2:4
@@ -363,7 +363,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
363
363
--> $DIR/extra_arguments.rs:55:3
364
364
|
365
365
LL | one_arg(stringify!($e), 1);
366
- | ^^^^^^^ - unexpected argument of type `{integer}`
366
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
367
367
|
368
368
note: function defined here
369
369
--> $DIR/extra_arguments.rs:2:4
@@ -380,7 +380,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
380
380
--> $DIR/extra_arguments.rs:60:3
381
381
|
382
382
LL | one_arg(for _ in 1.. {}, 1);
383
- | ^^^^^^^ - unexpected argument of type `{integer}`
383
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
384
384
|
385
385
note: function defined here
386
386
--> $DIR/extra_arguments.rs:2:4
0 commit comments