@@ -11,8 +11,8 @@ LL | fn one_arg(_a: i32) {}
1111 | ^^^^^^^ -------
1212help: provide the argument
1313 |
14- LL | one_arg({ i32} );
15- | ~~~~~~~~~~~~~~
14+ LL | one_arg(/* i32 */ );
15+ | ~~~~~~~~~~~~~~~~~~
1616
1717error[E0061]: this function takes 2 arguments but 0 arguments were supplied
1818 --> $DIR/missing_arguments.rs:14:3
@@ -27,8 +27,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
2727 | ^^^^^^^^ ------- -------
2828help: provide the arguments
2929 |
30- LL | two_same({ i32}, { i32} );
31- | ~~~~~~~~~~~~~~~~~~~~~~
30+ LL | two_same(/* i32 */, /* i32 */ );
31+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3232
3333error[E0061]: this function takes 2 arguments but 1 argument was supplied
3434 --> $DIR/missing_arguments.rs:15:3
@@ -43,8 +43,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
4343 | ^^^^^^^^ ------- -------
4444help: provide the argument
4545 |
46- LL | two_same(1, { i32} );
47- | ~~~~~~~~~~~~~~~~~~
46+ LL | two_same(1, /* i32 */ );
47+ | ~~~~~~~~~~~~~~~~~~~~~~
4848
4949error[E0061]: this function takes 2 arguments but 0 arguments were supplied
5050 --> $DIR/missing_arguments.rs:16:3
@@ -59,8 +59,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
5959 | ^^^^^^^^ ------- -------
6060help: provide the arguments
6161 |
62- LL | two_diff({ i32}, { f32} );
63- | ~~~~~~~~~~~~~~~~~~~~~~
62+ LL | two_diff(/* i32 */, /* f32 */ );
63+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6464
6565error[E0061]: this function takes 2 arguments but 1 argument was supplied
6666 --> $DIR/missing_arguments.rs:17:3
@@ -75,8 +75,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
7575 | ^^^^^^^^ ------- -------
7676help: provide the argument
7777 |
78- LL | two_diff(1, { f32} );
79- | ~~~~~~~~~~~~~~~~~~
78+ LL | two_diff(1, /* f32 */ );
79+ | ~~~~~~~~~~~~~~~~~~~~~~
8080
8181error[E0061]: this function takes 2 arguments but 1 argument was supplied
8282 --> $DIR/missing_arguments.rs:18:3
@@ -91,8 +91,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
9191 | ^^^^^^^^ ------- -------
9292help: provide the argument
9393 |
94- LL | two_diff({ i32} , 1.0);
95- | ~~~~~~~~~~~~~~~~~~~~
94+ LL | two_diff(/* i32 */ , 1.0);
95+ | ~~~~~~~~~~~~~~~~~~~~~~~~
9696
9797error[E0061]: this function takes 3 arguments but 0 arguments were supplied
9898 --> $DIR/missing_arguments.rs:21:3
@@ -107,8 +107,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
107107 | ^^^^^^^^^^ ------- ------- -------
108108help: provide the arguments
109109 |
110- LL | three_same({ i32}, { i32}, { i32} );
111- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110+ LL | three_same(/* i32 */, /* i32 */, /* i32 */ );
111+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112112
113113error[E0061]: this function takes 3 arguments but 1 argument was supplied
114114 --> $DIR/missing_arguments.rs:22:3
@@ -123,8 +123,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
123123 | ^^^^^^^^^^ ------- ------- -------
124124help: provide the arguments
125125 |
126- LL | three_same(1, { i32}, { i32} );
127- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
126+ LL | three_same(1, /* i32 */, /* i32 */ );
127+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128128
129129error[E0061]: this function takes 3 arguments but 2 arguments were supplied
130130 --> $DIR/missing_arguments.rs:23:3
@@ -139,8 +139,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
139139 | ^^^^^^^^^^ ------- ------- -------
140140help: provide the argument
141141 |
142- LL | three_same(1, 1, { i32} );
143- | ~~~~~~~~~~~~~~~~~~~~~~~
142+ LL | three_same(1, 1, /* i32 */ );
143+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
144144
145145error[E0061]: this function takes 3 arguments but 2 arguments were supplied
146146 --> $DIR/missing_arguments.rs:26:3
@@ -155,8 +155,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
155155 | ^^^^^^^^^^ ------- ------- --------
156156help: provide the argument
157157 |
158- LL | three_diff({ i32} , 1.0, "");
159- | ~~~~~~~~~~~~~~~~~~~~~~~~~~
158+ LL | three_diff(/* i32 */ , 1.0, "");
159+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160160
161161error[E0061]: this function takes 3 arguments but 2 arguments were supplied
162162 --> $DIR/missing_arguments.rs:27:3
@@ -171,8 +171,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
171171 | ^^^^^^^^^^ ------- ------- --------
172172help: provide the argument
173173 |
174- LL | three_diff(1, { f32} , "");
175- | ~~~~~~~~~~~~~~~~~~~~~~~~
174+ LL | three_diff(1, /* f32 */ , "");
175+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
176176
177177error[E0061]: this function takes 3 arguments but 2 arguments were supplied
178178 --> $DIR/missing_arguments.rs:28:3
@@ -187,8 +187,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
187187 | ^^^^^^^^^^ ------- ------- --------
188188help: provide the argument
189189 |
190- LL | three_diff(1, 1.0, { &str} );
191- | ~~~~~~~~~~~~~~~~~~~~~~~~~~
190+ LL | three_diff(1, 1.0, /* &str */ );
191+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192192
193193error[E0061]: this function takes 3 arguments but 1 argument was supplied
194194 --> $DIR/missing_arguments.rs:29:3
@@ -203,8 +203,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
203203 | ^^^^^^^^^^ ------- ------- --------
204204help: provide the arguments
205205 |
206- LL | three_diff({ i32}, { f32} , "");
207- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206+ LL | three_diff(/* i32 */, /* f32 */ , "");
207+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208208
209209error[E0061]: this function takes 3 arguments but 1 argument was supplied
210210 --> $DIR/missing_arguments.rs:30:3
@@ -222,8 +222,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
222222 | ^^^^^^^^^^ ------- ------- --------
223223help: provide the arguments
224224 |
225- LL | three_diff({ i32} , 1.0, { &str} );
226- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225+ LL | three_diff(/* i32 */ , 1.0, /* &str */ );
226+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
227227
228228error[E0061]: this function takes 3 arguments but 1 argument was supplied
229229 --> $DIR/missing_arguments.rs:31:3
@@ -238,8 +238,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
238238 | ^^^^^^^^^^ ------- ------- --------
239239help: provide the arguments
240240 |
241- LL | three_diff(1, { f32}, { &str} );
242- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
241+ LL | three_diff(1, /* f32 */, /* &str */ );
242+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243243
244244error[E0061]: this function takes 4 arguments but 0 arguments were supplied
245245 --> $DIR/missing_arguments.rs:34:3
@@ -254,8 +254,8 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
254254 | ^^^^^^^^^^^^^ ------- ------- ------- --------
255255help: provide the arguments
256256 |
257- LL | four_repeated({ i32}, { f32}, { f32}, { &str} );
258- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257+ LL | four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */ );
258+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259259
260260error[E0061]: this function takes 4 arguments but 2 arguments were supplied
261261 --> $DIR/missing_arguments.rs:35:3
@@ -270,8 +270,8 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
270270 | ^^^^^^^^^^^^^ ------- ------- ------- --------
271271help: provide the arguments
272272 |
273- LL | four_repeated(1, { f32}, { f32} , "");
274- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273+ LL | four_repeated(1, /* f32 */, /* f32 */ , "");
274+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275275
276276error[E0061]: this function takes 5 arguments but 0 arguments were supplied
277277 --> $DIR/missing_arguments.rs:38:3
@@ -286,8 +286,8 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
286286 | ^^^^^^^ ------- ------- ------- ------- --------
287287help: provide the arguments
288288 |
289- LL | complex({ i32}, { f32}, { i32}, { f32}, { &str} );
290- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289+ LL | complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */ );
290+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291291
292292error[E0061]: this function takes 5 arguments but 2 arguments were supplied
293293 --> $DIR/missing_arguments.rs:39:3
@@ -302,8 +302,8 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
302302 | ^^^^^^^ ------- ------- ------- ------- --------
303303help: provide the arguments
304304 |
305- LL | complex(1, { f32}, { i32}, { f32} , "");
306- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305+ LL | complex(1, /* f32 */, /* i32 */, /* f32 */ , "");
306+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
307307
308308error: aborting due to 19 previous errors
309309
0 commit comments