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 of type `{integer}` unexpected
7 note: tuple variant defined here
8 --> $SRC_DIR/core/src/option.rs:LL:COL
10 LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
12 help: remove the extra argument
17 error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied
18 --> $DIR/struct-enum-wrong-args.rs:7:13
20 LL | let _ = Ok(3, 6, 2);
21 | ^^ - - argument of type `{integer}` unexpected
23 | argument of type `{integer}` unexpected
25 note: tuple variant defined here
26 --> $SRC_DIR/core/src/result.rs:LL:COL
28 LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
30 help: remove the extra arguments
35 error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
36 --> $DIR/struct-enum-wrong-args.rs:8:13
39 | ^^-- an argument is missing
41 note: tuple variant defined here
42 --> $SRC_DIR/core/src/result.rs:LL:COL
44 LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
46 help: provide the argument
48 LL | let _ = Ok(/* value */);
51 error[E0061]: this struct takes 1 argument but 0 arguments were supplied
52 --> $DIR/struct-enum-wrong-args.rs:9:13
54 LL | let _ = Wrapper();
55 | ^^^^^^^-- an argument of type `i32` is missing
57 note: tuple struct defined here
58 --> $DIR/struct-enum-wrong-args.rs:2:8
60 LL | struct Wrapper(i32);
62 help: provide the argument
64 LL | let _ = Wrapper(/* i32 */);
67 error[E0061]: this struct takes 1 argument but 2 arguments were supplied
68 --> $DIR/struct-enum-wrong-args.rs:10:13
70 LL | let _ = Wrapper(5, 2);
71 | ^^^^^^^ - argument of type `{integer}` unexpected
73 note: tuple struct defined here
74 --> $DIR/struct-enum-wrong-args.rs:2:8
76 LL | struct Wrapper(i32);
78 help: remove the extra argument
80 LL | let _ = Wrapper(5);
83 error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
84 --> $DIR/struct-enum-wrong-args.rs:11:13
86 LL | let _ = DoubleWrapper();
87 | ^^^^^^^^^^^^^-- two arguments of type `i32` and `i32` are missing
89 note: tuple struct defined here
90 --> $DIR/struct-enum-wrong-args.rs:3:8
92 LL | struct DoubleWrapper(i32, i32);
94 help: provide the arguments
96 LL | let _ = DoubleWrapper(/* i32 */, /* i32 */);
97 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 error[E0061]: this struct takes 2 arguments but 1 argument was supplied
100 --> $DIR/struct-enum-wrong-args.rs:12:13
102 LL | let _ = DoubleWrapper(5);
103 | ^^^^^^^^^^^^^--- an argument of type `i32` is missing
105 note: tuple struct defined here
106 --> $DIR/struct-enum-wrong-args.rs:3:8
108 LL | struct DoubleWrapper(i32, i32);
110 help: provide the argument
112 LL | let _ = DoubleWrapper(5, /* i32 */);
113 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
116 --> $DIR/struct-enum-wrong-args.rs:13:13
118 LL | let _ = DoubleWrapper(5, 2, 7);
119 | ^^^^^^^^^^^^^ - argument of type `{integer}` unexpected
121 note: tuple struct defined here
122 --> $DIR/struct-enum-wrong-args.rs:3:8
124 LL | struct DoubleWrapper(i32, i32);
126 help: remove the extra argument
128 LL | let _ = DoubleWrapper(5, 2);
129 | ~~~~~~~~~~~~~~~~~~~
131 error: aborting due to 8 previous errors
133 For more information about this error, try `rustc --explain E0061`.