@@ -19,9 +19,9 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
1919 --> $DIR/extra_arguments.rs:20:3
2020 |
2121LL | empty(1, 1);
22- | ^^^^^ - - unexpected argument of type `{integer}`
22+ | ^^^^^ - - unexpected argument #2 of type `{integer}`
2323 | |
24- | unexpected argument of type `{integer}`
24+ | unexpected argument #1 of type `{integer}`
2525 |
2626note: function defined here
2727 --> $DIR/extra_arguments.rs:1:4
@@ -38,7 +38,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
3838 --> $DIR/extra_arguments.rs:22:3
3939 |
4040LL | one_arg(1, 1);
41- | ^^^^^^^ - unexpected argument of type `{integer}`
41+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
4242 |
4343note: function defined here
4444 --> $DIR/extra_arguments.rs:2:4
@@ -55,7 +55,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
5555 --> $DIR/extra_arguments.rs:23:3
5656 |
5757LL | one_arg(1, "");
58- | ^^^^^^^ -- unexpected argument of type `&'static str`
58+ | ^^^^^^^ -- unexpected argument #2 of type `&'static str`
5959 |
6060note: function defined here
6161 --> $DIR/extra_arguments.rs:2:4
@@ -72,9 +72,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
7272 --> $DIR/extra_arguments.rs:24:3
7373 |
7474LL | one_arg(1, "", 1.0);
75- | ^^^^^^^ -- --- unexpected argument of type `{float}`
75+ | ^^^^^^^ -- --- unexpected argument #3 of type `{float}`
7676 | |
77- | unexpected argument of type `&'static str`
77+ | unexpected argument #2 of type `&'static str`
7878 |
7979note: function defined here
8080 --> $DIR/extra_arguments.rs:2:4
@@ -91,7 +91,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
9191 --> $DIR/extra_arguments.rs:26:3
9292 |
9393LL | two_arg_same(1, 1, 1);
94- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
94+ | ^^^^^^^^^^^^ - unexpected argument #3 of type `{integer}`
9595 |
9696note: function defined here
9797 --> $DIR/extra_arguments.rs:3:4
@@ -108,7 +108,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
108108 --> $DIR/extra_arguments.rs:27:3
109109 |
110110LL | two_arg_same(1, 1, 1.0);
111- | ^^^^^^^^^^^^ --- unexpected argument of type `{float}`
111+ | ^^^^^^^^^^^^ --- unexpected argument #3 of type `{float}`
112112 |
113113note: function defined here
114114 --> $DIR/extra_arguments.rs:3:4
@@ -125,7 +125,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
125125 --> $DIR/extra_arguments.rs:29:3
126126 |
127127LL | two_arg_diff(1, 1, "");
128- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
128+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
129129 |
130130note: function defined here
131131 --> $DIR/extra_arguments.rs:4:4
@@ -142,7 +142,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
142142 --> $DIR/extra_arguments.rs:30:3
143143 |
144144LL | two_arg_diff(1, "", "");
145- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
145+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
146146 |
147147note: function defined here
148148 --> $DIR/extra_arguments.rs:4:4
@@ -159,9 +159,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
159159 --> $DIR/extra_arguments.rs:31:3
160160 |
161161LL | two_arg_diff(1, 1, "", "");
162- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
162+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
163163 | |
164- | unexpected argument of type `{integer}`
164+ | unexpected argument #2 of type `{integer}`
165165 |
166166note: function defined here
167167 --> $DIR/extra_arguments.rs:4:4
@@ -178,9 +178,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
178178 --> $DIR/extra_arguments.rs:32:3
179179 |
180180LL | two_arg_diff(1, "", 1, "");
181- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
181+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
182182 | |
183- | unexpected argument of type `{integer}`
183+ | unexpected argument #3 of type `{integer}`
184184 |
185185note: function defined here
186186 --> $DIR/extra_arguments.rs:4:4
@@ -197,7 +197,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
197197 --> $DIR/extra_arguments.rs:35:3
198198 |
199199LL | two_arg_same(1, 1, "");
200- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
200+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
201201 |
202202note: function defined here
203203 --> $DIR/extra_arguments.rs:3:4
@@ -214,7 +214,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
214214 --> $DIR/extra_arguments.rs:36:3
215215 |
216216LL | two_arg_diff(1, 1, "");
217- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
217+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
218218 |
219219note: function defined here
220220 --> $DIR/extra_arguments.rs:4:4
@@ -234,7 +234,7 @@ LL | two_arg_same(
234234 | ^^^^^^^^^^^^
235235...
236236LL | ""
237- | -- unexpected argument of type `&'static str`
237+ | -- unexpected argument #3 of type `&'static str`
238238 |
239239note: function defined here
240240 --> $DIR/extra_arguments.rs:3:4
@@ -255,7 +255,7 @@ LL | two_arg_diff(
255255 | ^^^^^^^^^^^^
256256LL | 1,
257257LL | 1,
258- | - unexpected argument of type `{integer}`
258+ | - unexpected argument #2 of type `{integer}`
259259 |
260260note: function defined here
261261 --> $DIR/extra_arguments.rs:4:4
@@ -271,12 +271,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
271271 --> $DIR/extra_arguments.rs:8:9
272272 |
273273LL | empty($x, 1);
274- | ^^^^^ - unexpected argument of type `{integer}`
274+ | ^^^^^ - unexpected argument #2 of type `{integer}`
275275...
276276LL | foo!(1, ~);
277277 | ----------
278278 | | |
279- | | unexpected argument of type `{integer}`
279+ | | unexpected argument #1 of type `{integer}`
280280 | in this macro invocation
281281 |
282282note: function defined here
@@ -290,12 +290,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
290290 --> $DIR/extra_arguments.rs:14:9
291291 |
292292LL | empty(1, $y);
293- | ^^^^^ - unexpected argument of type `{integer}`
293+ | ^^^^^ - unexpected argument #1 of type `{integer}`
294294...
295295LL | foo!(~, 1);
296296 | ----------
297297 | | |
298- | | unexpected argument of type `{integer}`
298+ | | unexpected argument #2 of type `{integer}`
299299 | in this macro invocation
300300 |
301301note: function defined here
@@ -314,8 +314,8 @@ LL | empty($x, $y);
314314LL | foo!(1, 1);
315315 | ----------
316316 | | | |
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}`
319319 | in this macro invocation
320320 |
321321note: function defined here
@@ -329,7 +329,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
329329 --> $DIR/extra_arguments.rs:53:3
330330 |
331331LL | one_arg(1, panic!());
332- | ^^^^^^^ -------- unexpected argument
332+ | ^^^^^^^ -------- unexpected argument #2
333333 |
334334note: function defined here
335335 --> $DIR/extra_arguments.rs:2:4
@@ -346,7 +346,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
346346 --> $DIR/extra_arguments.rs:54:3
347347 |
348348LL | one_arg(panic!(), 1);
349- | ^^^^^^^ - unexpected argument of type `{integer}`
349+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
350350 |
351351note: function defined here
352352 --> $DIR/extra_arguments.rs:2:4
@@ -363,7 +363,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
363363 --> $DIR/extra_arguments.rs:55:3
364364 |
365365LL | one_arg(stringify!($e), 1);
366- | ^^^^^^^ - unexpected argument of type `{integer}`
366+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
367367 |
368368note: function defined here
369369 --> $DIR/extra_arguments.rs:2:4
@@ -380,7 +380,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
380380 --> $DIR/extra_arguments.rs:60:3
381381 |
382382LL | one_arg(for _ in 1.. {}, 1);
383- | ^^^^^^^ - unexpected argument of type `{integer}`
383+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
384384 |
385385note: function defined here
386386 --> $DIR/extra_arguments.rs:2:4
0 commit comments