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 | ^^^^ - argument unexpected
7 help: remove the extra argument
12 error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied
13 --> $DIR/struct-enum-wrong-args.rs:7:13
15 LL | let _ = Ok(3, 6, 2);
16 | ^^ - - argument unexpected
20 help: remove the extra arguments
25 error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
26 --> $DIR/struct-enum-wrong-args.rs:8:13
29 | ^^-- an argument is missing
31 help: provide the argument
36 error[E0061]: this struct takes 1 argument but 0 arguments were supplied
37 --> $DIR/struct-enum-wrong-args.rs:9:13
39 LL | let _ = Wrapper();
40 | ^^^^^^^-- an argument of type `i32` is missing
42 note: tuple struct defined here
43 --> $DIR/struct-enum-wrong-args.rs:2:8
45 LL | struct Wrapper(i32);
47 help: provide the argument
49 LL | let _ = Wrapper({i32});
52 error[E0061]: this struct takes 1 argument but 2 arguments were supplied
53 --> $DIR/struct-enum-wrong-args.rs:10:13
55 LL | let _ = Wrapper(5, 2);
56 | ^^^^^^^ - argument unexpected
58 note: tuple struct defined here
59 --> $DIR/struct-enum-wrong-args.rs:2:8
61 LL | struct Wrapper(i32);
63 help: remove the extra argument
65 LL | let _ = Wrapper(5);
68 error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
69 --> $DIR/struct-enum-wrong-args.rs:11:13
71 LL | let _ = DoubleWrapper();
72 | ^^^^^^^^^^^^^-- two arguments of type `i32` and `i32` are missing
74 note: tuple struct defined here
75 --> $DIR/struct-enum-wrong-args.rs:3:8
77 LL | struct DoubleWrapper(i32, i32);
79 help: provide the arguments
81 LL | let _ = DoubleWrapper({i32}, {i32});
82 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 error[E0061]: this struct takes 2 arguments but 1 argument was supplied
85 --> $DIR/struct-enum-wrong-args.rs:12:13
87 LL | let _ = DoubleWrapper(5);
88 | ^^^^^^^^^^^^^--- an argument of type `i32` is missing
90 note: tuple struct defined here
91 --> $DIR/struct-enum-wrong-args.rs:3:8
93 LL | struct DoubleWrapper(i32, i32);
95 help: provide the argument
97 LL | let _ = DoubleWrapper(5, {i32});
98 | ~~~~~~~~~~~~~~~~~~~~~~~
100 error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
101 --> $DIR/struct-enum-wrong-args.rs:13:13
103 LL | let _ = DoubleWrapper(5, 2, 7);
104 | ^^^^^^^^^^^^^ - argument unexpected
106 note: tuple struct defined here
107 --> $DIR/struct-enum-wrong-args.rs:3:8
109 LL | struct DoubleWrapper(i32, i32);
111 help: remove the extra argument
113 LL | let _ = DoubleWrapper(5, 2);
114 | ~~~~~~~~~~~~~~~~~~~
116 error: aborting due to 8 previous errors
118 For more information about this error, try `rustc --explain E0061`.