|
1 | 1 | error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied
|
2 |
| - --> $DIR/struct-enum-wrong-args.rs:5:13 |
| 2 | + --> $DIR/struct-enum-wrong-args.rs:6:13 |
3 | 3 | |
|
4 | 4 | LL | let _ = Some(3, 2);
|
5 | 5 | | ^^^^ - - supplied 2 arguments
|
6 | 6 | | |
|
7 | 7 | | expected 1 argument
|
8 | 8 |
|
9 | 9 | error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied
|
10 |
| - --> $DIR/struct-enum-wrong-args.rs:6:13 |
| 10 | + --> $DIR/struct-enum-wrong-args.rs:7:13 |
11 | 11 | |
|
12 | 12 | LL | let _ = Ok(3, 6, 2);
|
13 | 13 | | ^^ - - - supplied 3 arguments
|
14 | 14 | | |
|
15 | 15 | | expected 1 argument
|
16 | 16 |
|
17 | 17 | error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
|
18 |
| - --> $DIR/struct-enum-wrong-args.rs:7:13 |
| 18 | + --> $DIR/struct-enum-wrong-args.rs:8:13 |
19 | 19 | |
|
20 | 20 | LL | let _ = Ok();
|
21 | 21 | | ^^-- supplied 0 arguments
|
22 | 22 | | |
|
23 | 23 | | expected 1 argument
|
24 | 24 |
|
25 | 25 | error[E0061]: this struct takes 1 argument but 0 arguments were supplied
|
26 |
| - --> $DIR/struct-enum-wrong-args.rs:8:13 |
| 26 | + --> $DIR/struct-enum-wrong-args.rs:9:13 |
27 | 27 | |
|
28 | 28 | LL | let _ = Wrapper();
|
29 | 29 | | ^^^^^^^-- supplied 0 arguments
|
30 | 30 | | |
|
31 | 31 | | expected 1 argument
|
32 | 32 |
|
33 | 33 | error[E0061]: this struct takes 1 argument but 2 arguments were supplied
|
34 |
| - --> $DIR/struct-enum-wrong-args.rs:9:13 |
| 34 | + --> $DIR/struct-enum-wrong-args.rs:10:13 |
35 | 35 | |
|
36 | 36 | LL | let _ = Wrapper(5, 2);
|
37 | 37 | | ^^^^^^^ - - supplied 2 arguments
|
38 | 38 | | |
|
39 | 39 | | expected 1 argument
|
40 | 40 |
|
41 | 41 | error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
|
42 |
| - --> $DIR/struct-enum-wrong-args.rs:10:13 |
| 42 | + --> $DIR/struct-enum-wrong-args.rs:11:13 |
43 | 43 | |
|
44 | 44 | LL | let _ = DoubleWrapper();
|
45 | 45 | | ^^^^^^^^^^^^^-- supplied 0 arguments
|
46 | 46 | | |
|
47 | 47 | | expected 2 arguments
|
48 | 48 |
|
49 | 49 | error[E0061]: this struct takes 2 arguments but 1 argument was supplied
|
50 |
| - --> $DIR/struct-enum-wrong-args.rs:11:13 |
| 50 | + --> $DIR/struct-enum-wrong-args.rs:12:13 |
51 | 51 | |
|
52 | 52 | LL | let _ = DoubleWrapper(5);
|
53 | 53 | | ^^^^^^^^^^^^^ - supplied 1 argument
|
54 | 54 | | |
|
55 | 55 | | expected 2 arguments
|
56 | 56 |
|
57 | 57 | error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
|
58 |
| - --> $DIR/struct-enum-wrong-args.rs:12:13 |
| 58 | + --> $DIR/struct-enum-wrong-args.rs:13:13 |
59 | 59 | |
|
60 | 60 | LL | let _ = DoubleWrapper(5, 2, 7);
|
61 | 61 | | ^^^^^^^^^^^^^ - - - supplied 3 arguments
|
|
0 commit comments