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 error[E0061]: this struct takes 1 argument but 2 arguments were supplied
34 --> $DIR/struct-enum-wrong-args.rs:10:13
36 LL | let _ = Wrapper(5, 2);
37 | ^^^^^^^ - - supplied 2 arguments
41 error[E0061]: this struct takes 2 arguments but 0 arguments were supplied
42 --> $DIR/struct-enum-wrong-args.rs:11:13
44 LL | let _ = DoubleWrapper();
45 | ^^^^^^^^^^^^^-- supplied 0 arguments
47 | expected 2 arguments
49 error[E0061]: this struct takes 2 arguments but 1 argument was supplied
50 --> $DIR/struct-enum-wrong-args.rs:12:13
52 LL | let _ = DoubleWrapper(5);
53 | ^^^^^^^^^^^^^ - supplied 1 argument
55 | expected 2 arguments
57 error[E0061]: this struct takes 2 arguments but 3 arguments were supplied
58 --> $DIR/struct-enum-wrong-args.rs:13:13
60 LL | let _ = DoubleWrapper(5, 2, 7);
61 | ^^^^^^^^^^^^^ - - - supplied 3 arguments
63 | expected 2 arguments
65 error: aborting due to 8 previous errors
67 For more information about this error, try `rustc --explain E0061`.