@@ -19,9 +19,9 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
19
19
--> $DIR/extra_arguments.rs:20:3
20
20
|
21
21
LL | empty(1, 1);
22
- | ^^^^^ - - unexpected #2 argument of type `{integer}`
22
+ | ^^^^^ - - unexpected argument #2 of type `{integer}`
23
23
| |
24
- | unexpected #1 argument of type `{integer}`
24
+ | unexpected argument #1 of type `{integer}`
25
25
|
26
26
note: function defined here
27
27
--> $DIR/extra_arguments.rs:1:4
@@ -38,14 +38,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
38
38
--> $DIR/extra_arguments.rs:22:3
39
39
|
40
40
LL | one_arg(1, 1);
41
- <<<<<<< HEAD
42
- | ^^^^^^^ - unexpected argument of type `{integer}`
43
- =======
44
- | ^^^^^^^ ---
45
- | | |
46
- | | unexpected #2 argument of type `{integer}`
47
- | help: remove the extra argument
48
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
41
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
49
42
|
50
43
note: function defined here
51
44
--> $DIR/extra_arguments.rs:2:4
@@ -62,14 +55,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
62
55
--> $DIR/extra_arguments.rs:23:3
63
56
|
64
57
LL | one_arg(1, "");
65
- <<<<<<< HEAD
66
- | ^^^^^^^ -- unexpected argument of type `&'static str`
67
- =======
68
- | ^^^^^^^ ----
69
- | | |
70
- | | unexpected #2 argument of type `&'static str`
71
- | help: remove the extra argument
72
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
58
+ | ^^^^^^^ -- unexpected argument #2 of type `&'static str`
73
59
|
74
60
note: function defined here
75
61
--> $DIR/extra_arguments.rs:2:4
@@ -86,9 +72,9 @@ error[E0061]: this function takes 1 argument but 3 arguments were supplied
86
72
--> $DIR/extra_arguments.rs:24:3
87
73
|
88
74
LL | one_arg(1, "", 1.0);
89
- | ^^^^^^^ -- --- unexpected #3 argument of type `{float}`
75
+ | ^^^^^^^ -- --- unexpected argument #3 of type `{float}`
90
76
| |
91
- | unexpected #2 argument of type `&'static str`
77
+ | unexpected argument #2 of type `&'static str`
92
78
|
93
79
note: function defined here
94
80
--> $DIR/extra_arguments.rs:2:4
@@ -105,14 +91,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
105
91
--> $DIR/extra_arguments.rs:26:3
106
92
|
107
93
LL | two_arg_same(1, 1, 1);
108
- <<<<<<< HEAD
109
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
110
- =======
111
- | ^^^^^^^^^^^^ ---
112
- | | |
113
- | | unexpected #3 argument of type `{integer}`
114
- | help: remove the extra argument
115
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
94
+ | ^^^^^^^^^^^^ - unexpected argument #3 of type `{integer}`
116
95
|
117
96
note: function defined here
118
97
--> $DIR/extra_arguments.rs:3:4
@@ -129,14 +108,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
129
108
--> $DIR/extra_arguments.rs:27:3
130
109
|
131
110
LL | two_arg_same(1, 1, 1.0);
132
- <<<<<<< HEAD
133
- | ^^^^^^^^^^^^ --- unexpected argument of type `{float}`
134
- =======
135
- | ^^^^^^^^^^^^ -----
136
- | | |
137
- | | unexpected #3 argument of type `{float}`
138
- | help: remove the extra argument
139
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
111
+ | ^^^^^^^^^^^^ --- unexpected argument #3 of type `{float}`
140
112
|
141
113
note: function defined here
142
114
--> $DIR/extra_arguments.rs:3:4
@@ -153,14 +125,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
153
125
--> $DIR/extra_arguments.rs:29:3
154
126
|
155
127
LL | two_arg_diff(1, 1, "");
156
- <<<<<<< HEAD
157
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
158
- =======
159
- | ^^^^^^^^^^^^ ---
160
- | | |
161
- | | unexpected #2 argument of type `{integer}`
162
- | help: remove the extra argument
163
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
128
+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
164
129
|
165
130
note: function defined here
166
131
--> $DIR/extra_arguments.rs:4:4
@@ -177,14 +142,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
177
142
--> $DIR/extra_arguments.rs:30:3
178
143
|
179
144
LL | two_arg_diff(1, "", "");
180
- <<<<<<< HEAD
181
- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
182
- =======
183
- | ^^^^^^^^^^^^ ----
184
- | | |
185
- | | unexpected #3 argument of type `&'static str`
186
- | help: remove the extra argument
187
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
145
+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
188
146
|
189
147
note: function defined here
190
148
--> $DIR/extra_arguments.rs:4:4
@@ -201,9 +159,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
201
159
--> $DIR/extra_arguments.rs:31:3
202
160
|
203
161
LL | two_arg_diff(1, 1, "", "");
204
- | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
162
+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
205
163
| |
206
- | unexpected #2 argument of type `{integer}`
164
+ | unexpected argument #2 of type `{integer}`
207
165
|
208
166
note: function defined here
209
167
--> $DIR/extra_arguments.rs:4:4
@@ -220,9 +178,9 @@ error[E0061]: this function takes 2 arguments but 4 arguments were supplied
220
178
--> $DIR/extra_arguments.rs:32:3
221
179
|
222
180
LL | two_arg_diff(1, "", 1, "");
223
- | ^^^^^^^^^^^^ - -- unexpected #4 argument of type `&'static str`
181
+ | ^^^^^^^^^^^^ - -- unexpected argument #4 of type `&'static str`
224
182
| |
225
- | unexpected #3 argument of type `{integer}`
183
+ | unexpected argument #3 of type `{integer}`
226
184
|
227
185
note: function defined here
228
186
--> $DIR/extra_arguments.rs:4:4
@@ -239,14 +197,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
239
197
--> $DIR/extra_arguments.rs:35:3
240
198
|
241
199
LL | two_arg_same(1, 1, "");
242
- <<<<<<< HEAD
243
- | ^^^^^^^^^^^^ -- unexpected argument of type `&'static str`
244
- =======
245
- | ^^^^^^^^^^^^ --------
246
- | | |
247
- | | unexpected #3 argument of type `&'static str`
248
- | help: remove the extra argument
249
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
200
+ | ^^^^^^^^^^^^ -- unexpected argument #3 of type `&'static str`
250
201
|
251
202
note: function defined here
252
203
--> $DIR/extra_arguments.rs:3:4
@@ -263,14 +214,7 @@ error[E0061]: this function takes 2 arguments but 3 arguments were supplied
263
214
--> $DIR/extra_arguments.rs:36:3
264
215
|
265
216
LL | two_arg_diff(1, 1, "");
266
- <<<<<<< HEAD
267
- | ^^^^^^^^^^^^ - unexpected argument of type `{integer}`
268
- =======
269
- | ^^^^^^^^^^^^ ---
270
- | | |
271
- | | unexpected #2 argument of type `{integer}`
272
- | help: remove the extra argument
273
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
217
+ | ^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}`
274
218
|
275
219
note: function defined here
276
220
--> $DIR/extra_arguments.rs:4:4
@@ -286,24 +230,11 @@ LL + two_arg_diff(1, "");
286
230
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
287
231
--> $DIR/extra_arguments.rs:37:3
288
232
|
289
- <<<<<<< HEAD
290
233
LL | two_arg_same(
291
234
| ^^^^^^^^^^^^
292
235
...
293
236
LL | ""
294
- | -- unexpected argument of type `&'static str`
295
- =======
296
- LL | two_arg_same(
297
- | ^^^^^^^^^^^^
298
- LL | 1,
299
- LL | 1,
300
- | ______-
301
- LL | | ""
302
- | | --
303
- | |_____||
304
- | |help: remove the extra argument
305
- | unexpected #3 argument of type `&'static str`
306
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
237
+ | -- unexpected argument #3 of type `&'static str`
307
238
|
308
239
note: function defined here
309
240
--> $DIR/extra_arguments.rs:3:4
@@ -320,23 +251,11 @@ LL + 1
320
251
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
321
252
--> $DIR/extra_arguments.rs:43:3
322
253
|
323
- <<<<<<< HEAD
324
254
LL | two_arg_diff(
325
255
| ^^^^^^^^^^^^
326
256
LL | 1,
327
257
LL | 1,
328
- | - unexpected argument of type `{integer}`
329
- =======
330
- LL | two_arg_diff(
331
- | ^^^^^^^^^^^^
332
- LL | 1,
333
- | ______-
334
- LL | | 1,
335
- | | -
336
- | | |
337
- | |_____unexpected #2 argument of type `{integer}`
338
- | help: remove the extra argument
339
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
258
+ | - unexpected argument #2 of type `{integer}`
340
259
|
341
260
note: function defined here
342
261
--> $DIR/extra_arguments.rs:4:4
@@ -352,12 +271,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
352
271
--> $DIR/extra_arguments.rs:8:9
353
272
|
354
273
LL | empty($x, 1);
355
- | ^^^^^ - unexpected #2 argument of type `{integer}`
274
+ | ^^^^^ - unexpected argument #2 of type `{integer}`
356
275
...
357
276
LL | foo!(1, ~);
358
277
| ----------
359
278
| | |
360
- | | unexpected #1 argument of type `{integer}`
279
+ | | unexpected argument #1 of type `{integer}`
361
280
| in this macro invocation
362
281
|
363
282
note: function defined here
@@ -371,12 +290,12 @@ error[E0061]: this function takes 0 arguments but 2 arguments were supplied
371
290
--> $DIR/extra_arguments.rs:14:9
372
291
|
373
292
LL | empty(1, $y);
374
- | ^^^^^ - unexpected #1 argument of type `{integer}`
293
+ | ^^^^^ - unexpected argument #1 of type `{integer}`
375
294
...
376
295
LL | foo!(~, 1);
377
296
| ----------
378
297
| | |
379
- | | unexpected #2 argument of type `{integer}`
298
+ | | unexpected argument #2 of type `{integer}`
380
299
| in this macro invocation
381
300
|
382
301
note: function defined here
@@ -395,8 +314,8 @@ LL | empty($x, $y);
395
314
LL | foo!(1, 1);
396
315
| ----------
397
316
| | | |
398
- | | | unexpected #2 argument of type `{integer}`
399
- | | unexpected #1 argument of type `{integer}`
317
+ | | | unexpected argument #2 of type `{integer}`
318
+ | | unexpected argument #1 of type `{integer}`
400
319
| in this macro invocation
401
320
|
402
321
note: function defined here
@@ -410,14 +329,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
410
329
--> $DIR/extra_arguments.rs:53:3
411
330
|
412
331
LL | one_arg(1, panic!());
413
- <<<<<<< HEAD
414
- | ^^^^^^^ -------- unexpected argument
415
- =======
416
- | ^^^^^^^ ----------
417
- | | |
418
- | | unexpected #2 argument
419
- | help: remove the extra argument
420
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
332
+ | ^^^^^^^ -------- unexpected argument #2
421
333
|
422
334
note: function defined here
423
335
--> $DIR/extra_arguments.rs:2:4
@@ -434,14 +346,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
434
346
--> $DIR/extra_arguments.rs:54:3
435
347
|
436
348
LL | one_arg(panic!(), 1);
437
- <<<<<<< HEAD
438
- | ^^^^^^^ - unexpected argument of type `{integer}`
439
- =======
440
- | ^^^^^^^ ---
441
- | | |
442
- | | unexpected #2 argument of type `{integer}`
443
- | help: remove the extra argument
444
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
349
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
445
350
|
446
351
note: function defined here
447
352
--> $DIR/extra_arguments.rs:2:4
@@ -458,14 +363,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
458
363
--> $DIR/extra_arguments.rs:55:3
459
364
|
460
365
LL | one_arg(stringify!($e), 1);
461
- <<<<<<< HEAD
462
- | ^^^^^^^ - unexpected argument of type `{integer}`
463
- =======
464
- | ^^^^^^^ ---
465
- | | |
466
- | | unexpected #2 argument of type `{integer}`
467
- | help: remove the extra argument
468
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
366
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
469
367
|
470
368
note: function defined here
471
369
--> $DIR/extra_arguments.rs:2:4
@@ -482,14 +380,7 @@ error[E0061]: this function takes 1 argument but 2 arguments were supplied
482
380
--> $DIR/extra_arguments.rs:60:3
483
381
|
484
382
LL | one_arg(for _ in 1.. {}, 1);
485
- <<<<<<< HEAD
486
- | ^^^^^^^ - unexpected argument of type `{integer}`
487
- =======
488
- | ^^^^^^^ ---
489
- | | |
490
- | | unexpected #2 argument of type `{integer}`
491
- | help: remove the extra argument
492
- >>>>>>> c71324b4859 (Use ordinal number in argument error)
383
+ | ^^^^^^^ - unexpected argument #2 of type `{integer}`
493
384
|
494
385
note: function defined here
495
386
--> $DIR/extra_arguments.rs:2:4
0 commit comments