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