@@ -27,9 +27,8 @@ LL | fn two_same(_a: i32, _b: i32) {}
2727 | ^^^^^^^^ ------- -------
2828help: provide the arguments
2929 |
30- LL - two_same( );
31- LL + two_same(/* i32 */, /* i32 */);
32- |
30+ LL | two_same(/* i32 */, /* i32 */ );
31+ | ++++++++++++++++++++
3332
3433error[E0061]: this function takes 2 arguments but 1 argument was supplied
3534 --> $DIR/missing_arguments.rs:15:3
@@ -45,7 +44,7 @@ LL | fn two_same(_a: i32, _b: i32) {}
4544help: provide the argument
4645 |
4746LL - two_same( 1 );
48- LL + two_same(1, /* i32 */);
47+ LL + two_same( /* i32 */ );
4948 |
5049
5150error[E0061]: this function takes 2 arguments but 0 arguments were supplied
@@ -61,9 +60,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
6160 | ^^^^^^^^ ------- -------
6261help: provide the arguments
6362 |
64- LL - two_diff( );
65- LL + two_diff(/* i32 */, /* f32 */);
66- |
63+ LL | two_diff(/* i32 */, /* f32 */ );
64+ | ++++++++++++++++++++
6765
6866error[E0061]: this function takes 2 arguments but 1 argument was supplied
6967 --> $DIR/missing_arguments.rs:17:3
@@ -79,7 +77,7 @@ LL | fn two_diff(_a: i32, _b: f32) {}
7977help: provide the argument
8078 |
8179LL - two_diff( 1 );
82- LL + two_diff(1, /* f32 */);
80+ LL + two_diff( /* f32 */ );
8381 |
8482
8583error[E0061]: this function takes 2 arguments but 1 argument was supplied
@@ -95,9 +93,8 @@ LL | fn two_diff(_a: i32, _b: f32) {}
9593 | ^^^^^^^^ -------
9694help: provide the argument
9795 |
98- LL - two_diff( 1.0 );
99- LL + two_diff(/* i32 */, 1.0);
100- |
96+ LL | two_diff(/* i32 */, 1.0 );
97+ | ++++++++++
10198
10299error[E0061]: this function takes 3 arguments but 0 arguments were supplied
103100 --> $DIR/missing_arguments.rs:21:3
@@ -112,9 +109,8 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
112109 | ^^^^^^^^^^ ------- ------- -------
113110help: provide the arguments
114111 |
115- LL - three_same( );
116- LL + three_same(/* i32 */, /* i32 */, /* i32 */);
117- |
112+ LL | three_same(/* i32 */, /* i32 */, /* i32 */ );
113+ | +++++++++++++++++++++++++++++++
118114
119115error[E0061]: this function takes 3 arguments but 1 argument was supplied
120116 --> $DIR/missing_arguments.rs:22:3
@@ -130,7 +126,7 @@ LL | fn three_same(_a: i32, _b: i32, _c: i32) {}
130126help: provide the arguments
131127 |
132128LL - three_same( 1 );
133- LL + three_same(1, /* i32 */, /* i32 */);
129+ LL + three_same( /* i32 */, /* i32 */ );
134130 |
135131
136132error[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) {}
147143help: provide the argument
148144 |
149145LL - three_same( 1, 1 );
150- LL + three_same(1, 1, /* i32 */);
146+ LL + three_same( 1, /* i32 */ );
151147 |
152148
153149error[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) {}
163159 | ^^^^^^^^^^ -------
164160help: provide the argument
165161 |
166- LL - three_diff( 1.0, "" );
167- LL + three_diff(/* i32 */, 1.0, "");
168- |
162+ LL | three_diff(/* i32 */, 1.0, "" );
163+ | ++++++++++
169164
170165error[E0061]: this function takes 3 arguments but 2 arguments were supplied
171166 --> $DIR/missing_arguments.rs:27:3
@@ -181,7 +176,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
181176help: provide the argument
182177 |
183178LL - three_diff( 1, "" );
184- LL + three_diff(1, /* f32 */, "" );
179+ LL + three_diff( /* f32 */, , "" );
185180 |
186181
187182error[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) {}
198193help: provide the argument
199194 |
200195LL - three_diff( 1, 1.0 );
201- LL + three_diff(1, 1.0, /* &str */);
196+ LL + three_diff( 1, /* &str */ );
202197 |
203198
204199error[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) {}
214209 | ^^^^^^^^^^ ------- -------
215210help: provide the arguments
216211 |
217- LL - three_diff( "" );
218- LL + three_diff(/* i32 */, /* f32 */, "");
219- |
212+ LL | three_diff(/* i32 */, /* f32 */, "" );
213+ | +++++++++++++++++++++
220214
221215error[E0061]: this function takes 3 arguments but 1 argument was supplied
222216 --> $DIR/missing_arguments.rs:30:3
@@ -235,7 +229,7 @@ LL | fn three_diff(_a: i32, _b: f32, _c: &str) {}
235229help: provide the arguments
236230 |
237231LL - three_diff( 1.0 );
238- LL + three_diff(/* i32 */, 1.0, /* &str */);
232+ LL + three_diff(/* i32 */, /* &str */ );
239233 |
240234
241235error[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) {}
252246help: provide the arguments
253247 |
254248LL - three_diff( 1 );
255- LL + three_diff(1, /* f32 */, /* &str */);
249+ LL + three_diff( /* f32 */, /* &str */ );
256250 |
257251
258252error[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) {}
268262 | ^^^^^^^^^^^^^ ------- ------- ------- --------
269263help: provide the arguments
270264 |
271- LL - four_repeated( );
272- LL + four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */);
273- |
265+ LL | four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */ );
266+ | +++++++++++++++++++++++++++++++++++++++++++
274267
275268error[E0061]: this function takes 4 arguments but 2 arguments were supplied
276269 --> $DIR/missing_arguments.rs:35:3
@@ -286,7 +279,7 @@ LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {}
286279help: provide the arguments
287280 |
288281LL - four_repeated( 1, "" );
289- LL + four_repeated(1, /* f32 */, /* f32 */, "" );
282+ LL + four_repeated( /* f32 */, /* f32 */, , "" );
290283 |
291284
292285error[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) {}
302295 | ^^^^^^^ ------- ------- ------- ------- --------
303296help: provide the arguments
304297 |
305- LL - complex( );
306- LL + complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */);
307- |
298+ LL | complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */ );
299+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++
308300
309301error[E0061]: this function takes 5 arguments but 2 arguments were supplied
310302 --> $DIR/missing_arguments.rs:39:3
@@ -320,7 +312,7 @@ LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {}
320312help: provide the arguments
321313 |
322314LL - complex( 1, "" );
323- LL + complex(1, /* f32 */, /* i32 */, /* f32 */, "" );
315+ LL + complex( /* f32 */, /* i32 */, /* f32 */, , "" );
324316 |
325317
326318error: aborting due to 19 previous errors
0 commit comments