1 error[E0532]: expected tuple struct/variant, found unit struct `Empty2`
2 --> $DIR/empty-struct-unit-pat.rs:31:9
4 LL | Empty2() => () //~ ERROR expected tuple struct/variant, found unit struct `Empty2`
5 | ^^^^^^ did you mean `XEmpty6`?
7 error[E0532]: expected tuple struct/variant, found unit struct `XEmpty2`
8 --> $DIR/empty-struct-unit-pat.rs:34:9
10 LL | XEmpty2() => () //~ ERROR expected tuple struct/variant, found unit struct `XEmpty2`
11 | ^^^^^^^ did you mean `XEmpty6`?
13 error[E0532]: expected tuple struct/variant, found unit struct `Empty2`
14 --> $DIR/empty-struct-unit-pat.rs:37:9
16 LL | Empty2(..) => () //~ ERROR expected tuple struct/variant, found unit struct `Empty2`
17 | ^^^^^^ did you mean `XEmpty6`?
19 error[E0532]: expected tuple struct/variant, found unit struct `XEmpty2`
20 --> $DIR/empty-struct-unit-pat.rs:40:9
22 LL | XEmpty2(..) => () //~ ERROR expected tuple struct/variant, found unit struct `XEmpty2`
23 | ^^^^^^^ did you mean `XEmpty6`?
25 error[E0532]: expected tuple struct/variant, found unit variant `E::Empty4`
26 --> $DIR/empty-struct-unit-pat.rs:44:9
28 LL | E::Empty4() => () //~ ERROR expected tuple struct/variant, found unit variant `E::Empty4`
29 | ^^^^^^^^^ not a tuple struct/variant
31 error[E0532]: expected tuple struct/variant, found unit variant `XE::XEmpty4`
32 --> $DIR/empty-struct-unit-pat.rs:47:9
34 LL | XE::XEmpty4() => (),
37 | did you mean `XEmpty5`?
39 error[E0532]: expected tuple struct/variant, found unit variant `E::Empty4`
40 --> $DIR/empty-struct-unit-pat.rs:52:9
42 LL | E::Empty4(..) => () //~ ERROR expected tuple struct/variant, found unit variant `E::Empty4`
43 | ^^^^^^^^^ not a tuple struct/variant
45 error[E0532]: expected tuple struct/variant, found unit variant `XE::XEmpty4`
46 --> $DIR/empty-struct-unit-pat.rs:55:9
48 LL | XE::XEmpty4(..) => (),
51 | did you mean `XEmpty5`?
53 error: aborting due to 8 previous errors
55 For more information about this error, try `rustc --explain E0532`.