@@ -2,7 +2,7 @@ error[E0061]: this function takes 0 arguments but 1 argument was supplied
22 --> $DIR/extra_arguments.rs:7:3
33 |
44LL | empty("");
5- | ^^^^^ -- argument of type `&'static str` unexpected
5+ | ^^^^^ -- unexpected argument of type `&'static str`
66 |
77note: function defined here
88 --> $DIR/extra_arguments.rs:1:4
@@ -19,7 +19,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
1919 --> $DIR/extra_arguments.rs:9:3
2020 |
2121LL | one_arg(1, 1);
22- | ^^^^^^^ - argument of type `{integer}` unexpected
22+ | ^^^^^^^ - unexpected argument of type `{integer}`
2323 |
2424note: function defined here
2525 --> $DIR/extra_arguments.rs:2:4
@@ -36,7 +36,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
3636 --> $DIR/extra_arguments.rs:10:3
3737 |
3838LL | one_arg(1, "");
39- | ^^^^^^^ -- argument of type `&'static str` unexpected
39+ | ^^^^^^^ -- unexpected argument of type `&'static str`
4040 |
4141note: function defined here
4242 --> $DIR/extra_arguments.rs:2:4
@@ -53,9 +53,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
5353 --> $DIR/extra_arguments.rs:11:3
5454 |
5555LL | one_arg(1, "", 1.0);
56- | ^^^^^^^ -- --- argument of type `{float}` unexpected
56+ | ^^^^^^^ -- --- unexpected argument of type `{float}`
5757 | |
58- | argument of type `&'static str` unexpected
58+ | unexpected argument of type `&'static str`
5959 |
6060note: function defined here
6161 --> $DIR/extra_arguments.rs:2:4
@@ -72,7 +72,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
7272 --> $DIR/extra_arguments.rs:13:3
7373 |
7474LL | two_arg_same(1, 1, 1);
75- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
75+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
7676 |
7777note: function defined here
7878 --> $DIR/extra_arguments.rs:3:4
@@ -89,7 +89,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
8989 --> $DIR/extra_arguments.rs:14:3
9090 |
9191LL | two_arg_same(1, 1, 1.0);
92- | ^^^^^^^^^^^^ --- argument of type `{float}` unexpected
92+ | ^^^^^^^^^^^^ --- unexpected argument of type `{float}`
9393 |
9494note: function defined here
9595 --> $DIR/extra_arguments.rs:3:4
@@ -106,7 +106,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
106106 --> $DIR/extra_arguments.rs:16:3
107107 |
108108LL | two_arg_diff(1, 1, "");
109- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
109+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
110110 |
111111note: function defined here
112112 --> $DIR/extra_arguments.rs:4:4
@@ -123,7 +123,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
123123 --> $DIR/extra_arguments.rs:17:3
124124 |
125125LL | two_arg_diff(1, "", "");
126- | ^^^^^^^^^^^^ -- argument of type `&'static str` unexpected
126+ | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
127127 |
128128note: function defined here
129129 --> $DIR/extra_arguments.rs:4:4
@@ -140,9 +140,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
140140 --> $DIR/extra_arguments.rs:18:3
141141 |
142142LL | two_arg_diff(1, 1, "", "");
143- | ^^^^^^^^^^^^ - -- argument of type `&'static str` unexpected
143+ | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
144144 | |
145- | argument of type `{integer}` unexpected
145+ | unexpected argument of type `{integer}`
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:19:3
160160 |
161161LL | two_arg_diff(1, "", 1, "");
162- | ^^^^^^^^^^^^ - -- argument of type `&'static str` unexpected
162+ | ^^^^^^^^^^^^ - -- unexpected argument of type `&'static str`
163163 | |
164- | argument of type `{integer}` unexpected
164+ | unexpected argument of type `{integer}`
165165 |
166166note: function defined here
167167 --> $DIR/extra_arguments.rs:4:4
@@ -178,7 +178,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
178178 --> $DIR/extra_arguments.rs:22:3
179179 |
180180LL | two_arg_same(1, 1, "");
181- | ^^^^^^^^^^^^ -- argument of type `&'static str` unexpected
181+ | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
182182 |
183183note: function defined here
184184 --> $DIR/extra_arguments.rs:3:4
@@ -195,7 +195,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
195195 --> $DIR/extra_arguments.rs:23:3
196196 |
197197LL | two_arg_diff(1, 1, "");
198- | ^^^^^^^^^^^^ - argument of type `{integer}` unexpected
198+ | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
199199 |
200200note: function defined here
201201 --> $DIR/extra_arguments.rs:4:4
@@ -215,7 +215,7 @@ LL | two_arg_same(
215215 | ^^^^^^^^^^^^
216216...
217217LL | ""
218- | -- argument of type `&'static str` unexpected
218+ | -- unexpected argument of type `&'static str`
219219 |
220220note: function defined here
221221 --> $DIR/extra_arguments.rs:3:4
@@ -235,7 +235,7 @@ LL | two_arg_diff(
235235 | ^^^^^^^^^^^^
236236LL | 1,
237237LL | 1,
238- | - argument of type `{integer}` unexpected
238+ | - unexpected argument of type `{integer}`
239239 |
240240note: function defined here
241241 --> $DIR/extra_arguments.rs:4:4
0 commit comments