1 error[E0532]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
2 --> $DIR/empty-struct-braces-pat-3.rs:17:9
5 | --------- `E::Empty3` defined here
8 | ^^^^^^^^^^^ help: use struct pattern syntax instead: `E::Empty3 {}`
10 error[E0532]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
11 --> $DIR/empty-struct-braces-pat-3.rs:21:9
13 LL | XE::XEmpty3() => ()
16 ::: $DIR/auxiliary/empty-struct.rs:6:5
19 | ------- `XE::XEmpty3` defined here
22 | --------- similarly named tuple variant `XEmpty5` defined here
24 help: use struct pattern syntax instead
26 LL | XE::XEmpty3 { /* fields */ } => ()
27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 help: a tuple variant with a similar name exists
30 LL | XE::XEmpty5() => ()
33 error[E0532]: expected tuple struct or tuple variant, found struct variant `E::Empty3`
34 --> $DIR/empty-struct-braces-pat-3.rs:25:9
37 | --------- `E::Empty3` defined here
39 LL | E::Empty3(..) => ()
40 | ^^^^^^^^^^^^^ help: use struct pattern syntax instead: `E::Empty3 {}`
42 error[E0532]: expected tuple struct or tuple variant, found struct variant `XE::XEmpty3`
43 --> $DIR/empty-struct-braces-pat-3.rs:29:9
45 LL | XE::XEmpty3(..) => ()
48 ::: $DIR/auxiliary/empty-struct.rs:6:5
51 | ------- `XE::XEmpty3` defined here
54 | --------- similarly named tuple variant `XEmpty5` defined here
56 help: use struct pattern syntax instead
58 LL | XE::XEmpty3 { /* fields */ } => ()
59 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 help: a tuple variant with a similar name exists
62 LL | XE::XEmpty5(..) => ()
65 error: aborting due to 4 previous errors
67 For more information about this error, try `rustc --explain E0532`.