fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0532]: expected tuple struct/variant, found struct variant `E::Empty3` 2 --> $DIR/empty-struct-braces-pat-3.rs:17:9 3 | 4LL | E::Empty3() => () 5 | ^^^^^^^^^ did you mean `E::Empty3 { /* fields */ }`? 6 7error[E0532]: expected tuple struct/variant, found struct variant `XE::XEmpty3` 8 --> $DIR/empty-struct-braces-pat-3.rs:21:9 9 | 10LL | XE::XEmpty3() => () 11 | ^^^^------- 12 | | | 13 | | help: a tuple variant with a similar name exists: `XEmpty5` 14 | did you mean `XE::XEmpty3 { /* fields */ }`? 15 16error[E0532]: expected tuple struct/variant, found struct variant `E::Empty3` 17 --> $DIR/empty-struct-braces-pat-3.rs:25:9 18 | 19LL | E::Empty3(..) => () 20 | ^^^^^^^^^ did you mean `E::Empty3 { /* fields */ }`? 21 22error[E0532]: expected tuple struct/variant, found struct variant `XE::XEmpty3` 23 --> $DIR/empty-struct-braces-pat-3.rs:29:9 24 | 25LL | XE::XEmpty3(..) => () 26 | ^^^^------- 27 | | | 28 | | help: a tuple variant with a similar name exists: `XEmpty5` 29 | did you mean `XE::XEmpty3 { /* fields */ }`? 30 31error: aborting due to 4 previous errors 32 33For more information about this error, try `rustc --explain E0532`.