@@ -11,8 +11,8 @@ LL | fn one_arg(_a: i32) {}
11
11
| ^^^^^^^ -------
12
12
help: provide the argument
13
13
|
14
- LL | one_arg({ i32} );
15
- | ~~~~~~~~~~~~~~
14
+ LL | one_arg(/* i32 */ );
15
+ | ~~~~~~~~~~~~~~~~~~
16
16
17
17
error[E0061]: this function takes 2 arguments but 0 arguments were supplied
18
18
--> $DIR/missing_arguments.rs:14:3
@@ -27,8 +27,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
27
27
| ^^^^^^^^ ------- -------
28
28
help: provide the arguments
29
29
|
30
- LL | two_same({ i32}, { i32} );
31
- | ~~~~~~~~~~~~~~~~~~~~~~
30
+ LL | two_same(/* i32 */, /* i32 */ );
31
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
32
33
33
error[E0061]: this function takes 2 arguments but 1 argument was supplied
34
34
--> $DIR/missing_arguments.rs:15:3
@@ -43,8 +43,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
43
43
| ^^^^^^^^ ------- -------
44
44
help: provide the argument
45
45
|
46
- LL | two_same(1, { i32} );
47
- | ~~~~~~~~~~~~~~~~~~
46
+ LL | two_same(1, /* i32 */ );
47
+ | ~~~~~~~~~~~~~~~~~~~~~~
48
48
49
49
error[E0061]: this function takes 2 arguments but 0 arguments were supplied
50
50
--> $DIR/missing_arguments.rs:16:3
@@ -59,8 +59,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
59
59
| ^^^^^^^^ ------- -------
60
60
help: provide the arguments
61
61
|
62
- LL | two_diff({ i32}, { f32} );
63
- | ~~~~~~~~~~~~~~~~~~~~~~
62
+ LL | two_diff(/* i32 */, /* f32 */ );
63
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
64
65
65
error[E0061]: this function takes 2 arguments but 1 argument was supplied
66
66
--> $DIR/missing_arguments.rs:17:3
@@ -75,8 +75,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
75
75
| ^^^^^^^^ ------- -------
76
76
help: provide the argument
77
77
|
78
- LL | two_diff(1, { f32} );
79
- | ~~~~~~~~~~~~~~~~~~
78
+ LL | two_diff(1, /* f32 */ );
79
+ | ~~~~~~~~~~~~~~~~~~~~~~
80
80
81
81
error[E0061]: this function takes 2 arguments but 1 argument was supplied
82
82
--> $DIR/missing_arguments.rs:18:3
@@ -91,8 +91,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
91
91
| ^^^^^^^^ ------- -------
92
92
help: provide the argument
93
93
|
94
- LL | two_diff({ i32} , 1.0);
95
- | ~~~~~~~~~~~~~~~~~~~~
94
+ LL | two_diff(/* i32 */ , 1.0);
95
+ | ~~~~~~~~~~~~~~~~~~~~~~~~
96
96
97
97
error[E0061]: this function takes 3 arguments but 0 arguments were supplied
98
98
--> $DIR/missing_arguments.rs:21:3
@@ -107,8 +107,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
107
107
| ^^^^^^^^^^ ------- ------- -------
108
108
help: provide the arguments
109
109
|
110
- LL | three_same({ i32}, { i32}, { i32} );
111
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110
+ LL | three_same(/* i32 */, /* i32 */, /* i32 */ );
111
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112
112
113
113
error[E0061]: this function takes 3 arguments but 1 argument was supplied
114
114
--> $DIR/missing_arguments.rs:22:3
@@ -123,8 +123,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
123
123
| ^^^^^^^^^^ ------- ------- -------
124
124
help: provide the arguments
125
125
|
126
- LL | three_same(1, { i32}, { i32} );
127
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
126
+ LL | three_same(1, /* i32 */, /* i32 */ );
127
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128
128
129
129
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
130
130
--> $DIR/missing_arguments.rs:23:3
@@ -139,8 +139,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
139
139
| ^^^^^^^^^^ ------- ------- -------
140
140
help: provide the argument
141
141
|
142
- LL | three_same(1, 1, { i32} );
143
- | ~~~~~~~~~~~~~~~~~~~~~~~
142
+ LL | three_same(1, 1, /* i32 */ );
143
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
144
144
145
145
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
146
146
--> $DIR/missing_arguments.rs:26:3
@@ -155,8 +155,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
155
155
| ^^^^^^^^^^ ------- ------- --------
156
156
help: provide the argument
157
157
|
158
- LL | three_diff({ i32} , 1.0, "");
159
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~
158
+ LL | three_diff(/* i32 */ , 1.0, "");
159
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160
160
161
161
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
162
162
--> $DIR/missing_arguments.rs:27:3
@@ -171,8 +171,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
171
171
| ^^^^^^^^^^ ------- ------- --------
172
172
help: provide the argument
173
173
|
174
- LL | three_diff(1, { f32} , "");
175
- | ~~~~~~~~~~~~~~~~~~~~~~~~
174
+ LL | three_diff(1, /* f32 */ , "");
175
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
176
176
177
177
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
178
178
--> $DIR/missing_arguments.rs:28:3
@@ -187,8 +187,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
187
187
| ^^^^^^^^^^ ------- ------- --------
188
188
help: provide the argument
189
189
|
190
- LL | three_diff(1, 1.0, { &str} );
191
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~
190
+ LL | three_diff(1, 1.0, /* &str */ );
191
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192
192
193
193
error[E0061]: this function takes 3 arguments but 1 argument was supplied
194
194
--> $DIR/missing_arguments.rs:29:3
@@ -203,8 +203,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
203
203
| ^^^^^^^^^^ ------- ------- --------
204
204
help: provide the arguments
205
205
|
206
- LL | three_diff({ i32}, { f32} , "");
207
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206
+ LL | three_diff(/* i32 */, /* f32 */ , "");
207
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208
208
209
209
error[E0061]: this function takes 3 arguments but 1 argument was supplied
210
210
--> $DIR/missing_arguments.rs:30:3
@@ -222,8 +222,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
222
222
| ^^^^^^^^^^ ------- ------- --------
223
223
help: provide the arguments
224
224
|
225
- LL | three_diff({ i32} , 1.0, { &str} );
226
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225
+ LL | three_diff(/* i32 */ , 1.0, /* &str */ );
226
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
227
227
228
228
error[E0061]: this function takes 3 arguments but 1 argument was supplied
229
229
--> $DIR/missing_arguments.rs:31:3
@@ -238,8 +238,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
238
238
| ^^^^^^^^^^ ------- ------- --------
239
239
help: provide the arguments
240
240
|
241
- LL | three_diff(1, { f32}, { &str} );
242
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
241
+ LL | three_diff(1, /* f32 */, /* &str */ );
242
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243
243
244
244
error[E0061]: this function takes 4 arguments but 0 arguments were supplied
245
245
--> $DIR/missing_arguments.rs:34:3
@@ -254,8 +254,8 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
254
254
| ^^^^^^^^^^^^^ ------- ------- ------- --------
255
255
help: provide the arguments
256
256
|
257
- LL | four_repeated({ i32}, { f32}, { f32}, { &str} );
258
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257
+ LL | four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */ );
258
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259
259
260
260
error[E0061]: this function takes 4 arguments but 2 arguments were supplied
261
261
--> $DIR/missing_arguments.rs:35:3
@@ -270,8 +270,8 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
270
270
| ^^^^^^^^^^^^^ ------- ------- ------- --------
271
271
help: provide the arguments
272
272
|
273
- LL | four_repeated(1, { f32}, { f32} , "");
274
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273
+ LL | four_repeated(1, /* f32 */, /* f32 */ , "");
274
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275
275
276
276
error[E0061]: this function takes 5 arguments but 0 arguments were supplied
277
277
--> $DIR/missing_arguments.rs:38:3
@@ -286,8 +286,8 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
286
286
| ^^^^^^^ ------- ------- ------- ------- --------
287
287
help: provide the arguments
288
288
|
289
- LL | complex({ i32}, { f32}, { i32}, { f32}, { &str} );
290
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289
+ LL | complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */ );
290
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291
291
292
292
error[E0061]: this function takes 5 arguments but 2 arguments were supplied
293
293
--> $DIR/missing_arguments.rs:39:3
@@ -302,8 +302,8 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
302
302
| ^^^^^^^ ------- ------- ------- ------- --------
303
303
help: provide the arguments
304
304
|
305
- LL | complex(1, { f32}, { i32}, { f32} , "");
306
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305
+ LL | complex(1, /* f32 */, /* i32 */, /* f32 */ , "");
306
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
307
307
308
308
error: aborting due to 19 previous errors
309
309
0 commit comments