@@ -27,9 +27,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
27
27
| ^^^^^^^^ ------- -------
28
28
help: provide the arguments
29
29
|
30
- LL - two_same( );
31
- LL + two_same(/* i32 */, /* i32 */);
32
- |
30
+ LL | two_same(/* i32 */, /* i32 */ );
31
+ | ++++++++++++++++++++
33
32
34
33
error[E0061]: this function takes 2 arguments but 1 argument was supplied
35
34
--> $DIR/missing_arguments.rs:15:3
@@ -45,7 +44,7 @@ LL | fn two_same(_a: i32, _b: i32) {}
45
44
help: provide the argument
46
45
|
47
46
LL - two_same( 1 );
48
- LL + two_same(1, /* i32 */);
47
+ LL + two_same( /* i32 */ );
49
48
|
50
49
51
50
error[E0061]: this function takes 2 arguments but 0 arguments were supplied
@@ -61,9 +60,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
61
60
| ^^^^^^^^ ------- -------
62
61
help: provide the arguments
63
62
|
64
- LL - two_diff( );
65
- LL + two_diff(/* i32 */, /* f32 */);
66
- |
63
+ LL | two_diff(/* i32 */, /* f32 */ );
64
+ | ++++++++++++++++++++
67
65
68
66
error[E0061]: this function takes 2 arguments but 1 argument was supplied
69
67
--> $DIR/missing_arguments.rs:17:3
@@ -79,7 +77,7 @@ LL | fn two_diff(_a: i32, _b: f32) {}
79
77
help: provide the argument
80
78
|
81
79
LL - two_diff( 1 );
82
- LL + two_diff(1, /* f32 */);
80
+ LL + two_diff( /* f32 */ );
83
81
|
84
82
85
83
error[E0061]: this function takes 2 arguments but 1 argument was supplied
@@ -95,9 +93,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
95
93
| ^^^^^^^^ -------
96
94
help: provide the argument
97
95
|
98
- LL - two_diff( 1.0 );
99
- LL + two_diff(/* i32 */, 1.0);
100
- |
96
+ LL | two_diff(/* i32 */, 1.0 );
97
+ | ++++++++++
101
98
102
99
error[E0061]: this function takes 3 arguments but 0 arguments were supplied
103
100
--> $DIR/missing_arguments.rs:21:3
@@ -112,9 +109,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
112
109
| ^^^^^^^^^^ ------- ------- -------
113
110
help: provide the arguments
114
111
|
115
- LL - three_same( );
116
- LL + three_same(/* i32 */, /* i32 */, /* i32 */);
117
- |
112
+ LL | three_same(/* i32 */, /* i32 */, /* i32 */ );
113
+ | +++++++++++++++++++++++++++++++
118
114
119
115
error[E0061]: this function takes 3 arguments but 1 argument was supplied
120
116
--> $DIR/missing_arguments.rs:22:3
@@ -130,7 +126,7 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
130
126
help: provide the arguments
131
127
|
132
128
LL - three_same( 1 );
133
- LL + three_same(1, /* i32 */, /* i32 */);
129
+ LL + three_same( /* i32 */, /* i32 */ );
134
130
|
135
131
136
132
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
@@ -147,7 +143,7 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
147
143
help: provide the argument
148
144
|
149
145
LL - three_same( 1, 1 );
150
- LL + three_same(1, 1, /* i32 */);
146
+ LL + three_same( 1, /* i32 */ );
151
147
|
152
148
153
149
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
@@ -163,9 +159,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
163
159
| ^^^^^^^^^^ -------
164
160
help: provide the argument
165
161
|
166
- LL - three_diff( 1.0, "" );
167
- LL + three_diff(/* i32 */, 1.0, "");
168
- |
162
+ LL | three_diff(/* i32 */, 1.0, "" );
163
+ | ++++++++++
169
164
170
165
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
171
166
--> $DIR/missing_arguments.rs:27:3
@@ -181,7 +176,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
181
176
help: provide the argument
182
177
|
183
178
LL - three_diff( 1, "" );
184
- LL + three_diff(1, /* f32 */, "" );
179
+ LL + three_diff( /* f32 */, , "" );
185
180
|
186
181
187
182
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
@@ -198,7 +193,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
198
193
help: provide the argument
199
194
|
200
195
LL - three_diff( 1, 1.0 );
201
- LL + three_diff(1, 1.0, /* &str */);
196
+ LL + three_diff( 1, /* &str */ );
202
197
|
203
198
204
199
error[E0061]: this function takes 3 arguments but 1 argument was supplied
@@ -214,9 +209,8 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
214
209
| ^^^^^^^^^^ ------- -------
215
210
help: provide the arguments
216
211
|
217
- LL - three_diff( "" );
218
- LL + three_diff(/* i32 */, /* f32 */, "");
219
- |
212
+ LL | three_diff(/* i32 */, /* f32 */, "" );
213
+ | +++++++++++++++++++++
220
214
221
215
error[E0061]: this function takes 3 arguments but 1 argument was supplied
222
216
--> $DIR/missing_arguments.rs:30:3
@@ -235,7 +229,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
235
229
help: provide the arguments
236
230
|
237
231
LL - three_diff( 1.0 );
238
- LL + three_diff(/* i32 */, 1.0, /* &str */);
232
+ LL + three_diff(/* i32 */, /* &str */ );
239
233
|
240
234
241
235
error[E0061]: this function takes 3 arguments but 1 argument was supplied
@@ -252,7 +246,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
252
246
help: provide the arguments
253
247
|
254
248
LL - three_diff( 1 );
255
- LL + three_diff(1, /* f32 */, /* &str */);
249
+ LL + three_diff( /* f32 */, /* &str */ );
256
250
|
257
251
258
252
error[E0061]: this function takes 4 arguments but 0 arguments were supplied
@@ -268,9 +262,8 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
268
262
| ^^^^^^^^^^^^^ ------- ------- ------- --------
269
263
help: provide the arguments
270
264
|
271
- LL - four_repeated( );
272
- LL + four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */);
273
- |
265
+ LL | four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */ );
266
+ | +++++++++++++++++++++++++++++++++++++++++++
274
267
275
268
error[E0061]: this function takes 4 arguments but 2 arguments were supplied
276
269
--> $DIR/missing_arguments.rs:35:3
@@ -286,7 +279,7 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
286
279
help: provide the arguments
287
280
|
288
281
LL - four_repeated( 1, "" );
289
- LL + four_repeated(1, /* f32 */, /* f32 */, "" );
282
+ LL + four_repeated( /* f32 */, /* f32 */, , "" );
290
283
|
291
284
292
285
error[E0061]: this function takes 5 arguments but 0 arguments were supplied
@@ -302,9 +295,8 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
302
295
| ^^^^^^^ ------- ------- ------- ------- --------
303
296
help: provide the arguments
304
297
|
305
- LL - complex( );
306
- LL + complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */);
307
- |
298
+ LL | complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */ );
299
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++
308
300
309
301
error[E0061]: this function takes 5 arguments but 2 arguments were supplied
310
302
--> $DIR/missing_arguments.rs:39:3
@@ -320,7 +312,7 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
320
312
help: provide the arguments
321
313
|
322
314
LL - complex( 1, "" );
323
- LL + complex(1, /* f32 */, /* i32 */, /* f32 */, "" );
315
+ LL + complex( /* f32 */, /* i32 */, /* f32 */, , "" );
324
316
|
325
317
326
318
error: aborting due to 19 previous errors
0 commit comments