1 error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied
2 --> $DIR/struct-enum-wrong-args.rs:6:13
4 LL | let _ = Some(3, 2);
5 | ^^^^ - - supplied 2 arguments
9 error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied
10 --> $DIR/struct-enum-wrong-args.rs:7:13
12 LL | let _ = Ok(3, 6, 2);
13 | ^^ - - - supplied 3 arguments
17 error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
18 --> $DIR/struct-enum-wrong-args.rs:8:13
21 | ^^-- supplied 0 arguments
25 error[E0061]: this struct takes 1 argument but 0 arguments were supplied
26 --> $DIR/struct-enum-wrong-args.rs:9:13
28 LL | let _ = Wrapper();
29 | ^^^^^^^-- supplied 0 arguments
33 note: tuple struct defined here
34 --> $DIR/struct-enum-wrong-args.rs:2:8
36 LL | struct Wrapper(i32);
39 error[E0061]: this struct takes 1 argument but 2 arguments were supplied
40 --> $DIR/struct-enum-wrong-args.rs:10:13
42 LL | let _ = Wrapper(5, 2);
43 | ^^^^^^^ - - supplied 2 arguments
47 note: tuple struct defined here
48 --> $DIR/struct-enum-wrong-args.rs:2:8
50 LL | struct Wrapper(i32);
53 error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
54 --> $DIR/struct-enum-wrong-args.rs:11:13
56 LL | let _ = DoubleWrapper();
57 | ^^^^^^^^^^^^^-- supplied 0 arguments
59 | expected 2 arguments
61 note: tuple struct defined here
62 --> $DIR/struct-enum-wrong-args.rs:3:8
64 LL | struct DoubleWrapper(i32, i32);
67 error[E0061]: this struct takes 2 arguments but 1 argument was supplied
68 --> $DIR/struct-enum-wrong-args.rs:12:13
70 LL | let _ = DoubleWrapper(5);
71 | ^^^^^^^^^^^^^ - supplied 1 argument
73 | expected 2 arguments
75 note: tuple struct defined here
76 --> $DIR/struct-enum-wrong-args.rs:3:8
78 LL | struct DoubleWrapper(i32, i32);
81 error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
82 --> $DIR/struct-enum-wrong-args.rs:13:13
84 LL | let _ = DoubleWrapper(5, 2, 7);
85 | ^^^^^^^^^^^^^ - - - supplied 3 arguments
87 | expected 2 arguments
89 note: tuple struct defined here
90 --> $DIR/struct-enum-wrong-args.rs:3:8
92 LL | struct DoubleWrapper(i32, i32);
95 error: aborting due to 8 previous errors
97 For more information about this error, try `rustc --explain E0061`.