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