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
9 help: remove the extra argument
14 error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied
15 --> $DIR/struct-enum-wrong-args.rs:7:13
17 LL | let _ = Ok(3, 6, 2);
18 | ^^ - - argument of type `{integer}` unexpected
20 | argument of type `{integer}` unexpected
22 note: tuple variant defined here
23 --> $SRC_DIR/core/src/result.rs:LL:COL
24 help: remove the extra arguments
29 error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
30 --> $DIR/struct-enum-wrong-args.rs:8:13
33 | ^^-- an argument is missing
35 note: tuple variant defined here
36 --> $SRC_DIR/core/src/result.rs:LL:COL
37 help: provide the argument
39 LL | let _ = Ok(/* value */);
42 error[E0061]: this struct takes 1 argument but 0 arguments were supplied
43 --> $DIR/struct-enum-wrong-args.rs:9:13
45 LL | let _ = Wrapper();
46 | ^^^^^^^-- an argument of type `i32` is missing
48 note: tuple struct defined here
49 --> $DIR/struct-enum-wrong-args.rs:2:8
51 LL | struct Wrapper(i32);
53 help: provide the argument
55 LL | let _ = Wrapper(/* i32 */);
58 error[E0061]: this struct takes 1 argument but 2 arguments were supplied
59 --> $DIR/struct-enum-wrong-args.rs:10:13
61 LL | let _ = Wrapper(5, 2);
62 | ^^^^^^^ - argument of type `{integer}` unexpected
64 note: tuple struct defined here
65 --> $DIR/struct-enum-wrong-args.rs:2:8
67 LL | struct Wrapper(i32);
69 help: remove the extra argument
71 LL | let _ = Wrapper(5);
74 error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
75 --> $DIR/struct-enum-wrong-args.rs:11:13
77 LL | let _ = DoubleWrapper();
78 | ^^^^^^^^^^^^^-- two arguments of type `i32` and `i32` are missing
80 note: tuple struct defined here
81 --> $DIR/struct-enum-wrong-args.rs:3:8
83 LL | struct DoubleWrapper(i32, i32);
85 help: provide the arguments
87 LL | let _ = DoubleWrapper(/* i32 */, /* i32 */);
88 | ~~~~~~~~~~~~~~~~~~~~~~
90 error[E0061]: this struct takes 2 arguments but 1 argument was supplied
91 --> $DIR/struct-enum-wrong-args.rs:12:13
93 LL | let _ = DoubleWrapper(5);
94 | ^^^^^^^^^^^^^--- an argument of type `i32` is missing
96 note: tuple struct defined here
97 --> $DIR/struct-enum-wrong-args.rs:3:8
99 LL | struct DoubleWrapper(i32, i32);
101 help: provide the argument
103 LL | let _ = DoubleWrapper(5, /* i32 */);
106 error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
107 --> $DIR/struct-enum-wrong-args.rs:13:13
109 LL | let _ = DoubleWrapper(5, 2, 7);
110 | ^^^^^^^^^^^^^ - argument of type `{integer}` unexpected
112 note: tuple struct defined here
113 --> $DIR/struct-enum-wrong-args.rs:3:8
115 LL | struct DoubleWrapper(i32, i32);
117 help: remove the extra argument
119 LL | let _ = DoubleWrapper(5, 2);
122 error: aborting due to 8 previous errors
124 For more information about this error, try `rustc --explain E0061`.