@@ -17,9 +17,9 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
1717 --> $DIR/extra_arguments.rs:20:3
1818 |
1919LL | empty(1, 1);
20- | ^^^^^ - - unexpected argument of type `{integer}`
20+ | ^^^^^ - - unexpected #2 argument of type `{integer}`
2121 | |
22- | unexpected argument of type `{integer}`
22+ | unexpected #1 argument of type `{integer}`
2323 |
2424note: function defined here
2525 --> $DIR/extra_arguments.rs:1:4
@@ -38,7 +38,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
3838LL | one_arg(1, 1);
3939 | ^^^^^^^ ---
4040 | | |
41- | | unexpected argument of type `{integer}`
41+ | | unexpected #2 argument of type `{integer}`
4242 | help: remove the extra argument
4343 |
4444note: function defined here
@@ -53,7 +53,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
5353LL | one_arg(1, "");
5454 | ^^^^^^^ ----
5555 | | |
56- | | unexpected argument of type `&'static str`
56+ | | unexpected #2 argument of type `&'static str`
5757 | help: remove the extra argument
5858 |
5959note: function defined here
@@ -66,9 +66,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
6666 --> $DIR/extra_arguments.rs:24:3
6767 |
6868LL | one_arg(1, "", 1.0);
69- | ^^^^^^^ -- --- unexpected argument of type `{float}`
69+ | ^^^^^^^ -- --- unexpected #3 argument of type `{float}`
7070 | |
71- | unexpected argument of type `&'static str`
71+ | unexpected #2 argument of type `&'static str`
7272 |
7373note: function defined here
7474 --> $DIR/extra_arguments.rs:2:4
@@ -87,7 +87,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
8787LL | two_arg_same(1, 1, 1);
8888 | ^^^^^^^^^^^^ ---
8989 | | |
90- | | unexpected argument of type `{integer}`
90+ | | unexpected #3 argument of type `{integer}`
9191 | help: remove the extra argument
9292 |
9393note: function defined here
@@ -102,7 +102,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
102102LL | two_arg_same(1, 1, 1.0);
103103 | ^^^^^^^^^^^^ -----
104104 | | |
105- | | unexpected argument of type `{float}`
105+ | | unexpected #3 argument of type `{float}`
106106 | help: remove the extra argument
107107 |
108108note: function defined here
@@ -117,7 +117,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
117117LL | two_arg_diff(1, 1, "");
118118 | ^^^^^^^^^^^^ ---
119119 | | |
120- | | unexpected argument of type `{integer}`
120+ | | unexpected #2 argument of type `{integer}`
121121 | help: remove the extra argument
122122 |
123123note: function defined here
@@ -132,7 +132,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
132132LL | two_arg_diff(1, "", "");
133133 | ^^^^^^^^^^^^ ----
134134 | | |
135- | | unexpected argument of type `&'static str`
135+ | | unexpected #3 argument of type `&'static str`
136136 | help: remove the extra argument
137137 |
138138note: function defined here
@@ -145,9 +145,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
145145 --> $DIR/extra_arguments.rs:31:3
146146 |
147147LL | two_arg_diff(1, 1, "", "");
148- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
148+ | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
149149 | |
150- | unexpected argument of type `{integer}`
150+ | unexpected #2 argument of type `{integer}`
151151 |
152152note: function defined here
153153 --> $DIR/extra_arguments.rs:4:4
@@ -164,9 +164,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
164164 --> $DIR/extra_arguments.rs:32:3
165165 |
166166LL | two_arg_diff(1, "", 1, "");
167- | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
167+ | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
168168 | |
169- | unexpected argument of type `{integer}`
169+ | unexpected #3 argument of type `{integer}`
170170 |
171171note: function defined here
172172 --> $DIR/extra_arguments.rs:4:4
@@ -185,7 +185,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
185185LL | two_arg_same(1, 1, "");
186186 | ^^^^^^^^^^^^ --------
187187 | | |
188- | | unexpected argument of type `&'static str`
188+ | | unexpected #3 argument of type `&'static str`
189189 | help: remove the extra argument
190190 |
191191note: function defined here
@@ -200,7 +200,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
200200LL | two_arg_diff(1, 1, "");
201201 | ^^^^^^^^^^^^ ---
202202 | | |
203- | | unexpected argument of type `{integer}`
203+ | | unexpected #2 argument of type `{integer}`
204204 | help: remove the extra argument
205205 |
206206note: function defined here
@@ -221,7 +221,7 @@ LL | | ""
221221 | | --
222222 | |_____||
223223 | |help: remove the extra argument
224- | unexpected argument of type `&'static str`
224+ | unexpected #3 argument of type `&'static str`
225225 |
226226note: function defined here
227227 --> $DIR/extra_arguments.rs:3:4
@@ -239,7 +239,7 @@ LL | 1,
239239LL | | 1,
240240 | | -
241241 | | |
242- | |_____unexpected argument of type `{integer}`
242+ | |_____unexpected #2 argument of type `{integer}`
243243 | help: remove the extra argument
244244 |
245245note: function defined here
@@ -252,12 +252,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
252252 --> $DIR/extra_arguments.rs:8:9
253253 |
254254LL | empty($x, 1);
255- | ^^^^^ - unexpected argument of type `{integer}`
255+ | ^^^^^ - unexpected #2 argument of type `{integer}`
256256...
257257LL | foo!(1, ~);
258258 | ----------
259259 | | |
260- | | unexpected argument of type `{integer}`
260+ | | unexpected #1 argument of type `{integer}`
261261 | in this macro invocation
262262 |
263263note: function defined here
@@ -271,12 +271,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
271271 --> $DIR/extra_arguments.rs:14:9
272272 |
273273LL | empty(1, $y);
274- | ^^^^^ - unexpected argument of type `{integer}`
274+ | ^^^^^ - unexpected #1 argument of type `{integer}`
275275...
276276LL | foo!(~, 1);
277277 | ----------
278278 | | |
279- | | unexpected argument of type `{integer}`
279+ | | unexpected #2 argument of type `{integer}`
280280 | in this macro invocation
281281 |
282282note: function defined here
@@ -295,8 +295,8 @@ LL | empty($x, $y);
295295LL | foo!(1, 1);
296296 | ----------
297297 | | | |
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}`
300300 | in this macro invocation
301301 |
302302note: function defined here
@@ -312,7 +312,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
312312LL | one_arg(1, panic!());
313313 | ^^^^^^^ ----------
314314 | | |
315- | | unexpected argument
315+ | | unexpected #2 argument
316316 | help: remove the extra argument
317317 |
318318note: function defined here
@@ -327,7 +327,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
327327LL | one_arg(panic!(), 1);
328328 | ^^^^^^^ ---
329329 | | |
330- | | unexpected argument of type `{integer}`
330+ | | unexpected #2 argument of type `{integer}`
331331 | help: remove the extra argument
332332 |
333333note: function defined here
@@ -342,7 +342,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
342342LL | one_arg(stringify!($e), 1);
343343 | ^^^^^^^ ---
344344 | | |
345- | | unexpected argument of type `{integer}`
345+ | | unexpected #2 argument of type `{integer}`
346346 | help: remove the extra argument
347347 |
348348note: function defined here
@@ -357,7 +357,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
357357LL | one_arg(for _ in 1.. {}, 1);
358358 | ^^^^^^^ ---
359359 | | |
360- | | unexpected argument of type `{integer}`
360+ | | unexpected #2 argument of type `{integer}`
361361 | help: remove the extra argument
362362 |
363363note: function defined here
0 commit comments