fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0532]: expected tuple struct or tuple variant, found struct `Empty1` 2 --> $DIR/empty-struct-braces-pat-2.rs:15:9 3 | 4LL | struct Empty1 {} 5 | ---------------- `Empty1` defined here 6... 7LL | Empty1() => () 8 | ^^^^^^ 9 | | 10 | did you mean `Empty1 { /* fields */ }`? 11 | help: a tuple struct with a similar name exists: `XEmpty6` 12 | 13 ::: $DIR/auxiliary/empty-struct.rs:3:1 14 | 15LL | pub struct XEmpty6(); 16 | --------------------- similarly named tuple struct `XEmpty6` defined here 17 18error[E0532]: expected tuple struct or tuple variant, found struct `XEmpty1` 19 --> $DIR/empty-struct-braces-pat-2.rs:18:9 20 | 21LL | XEmpty1() => () 22 | ^^^^^^^ 23 | | 24 | did you mean `XEmpty1 { /* fields */ }`? 25 | help: a tuple struct with a similar name exists: `XEmpty6` 26 | 27 ::: $DIR/auxiliary/empty-struct.rs:3:1 28 | 29LL | pub struct XEmpty6(); 30 | --------------------- similarly named tuple struct `XEmpty6` defined here 31 32error[E0532]: expected tuple struct or tuple variant, found struct `Empty1` 33 --> $DIR/empty-struct-braces-pat-2.rs:21:9 34 | 35LL | struct Empty1 {} 36 | ---------------- `Empty1` defined here 37... 38LL | Empty1(..) => () 39 | ^^^^^^ 40 | | 41 | did you mean `Empty1 { /* fields */ }`? 42 | help: a tuple struct with a similar name exists: `XEmpty6` 43 | 44 ::: $DIR/auxiliary/empty-struct.rs:3:1 45 | 46LL | pub struct XEmpty6(); 47 | --------------------- similarly named tuple struct `XEmpty6` defined here 48 49error[E0532]: expected tuple struct or tuple variant, found struct `XEmpty1` 50 --> $DIR/empty-struct-braces-pat-2.rs:24:9 51 | 52LL | XEmpty1(..) => () 53 | ^^^^^^^ 54 | | 55 | did you mean `XEmpty1 { /* fields */ }`? 56 | help: a tuple struct with a similar name exists: `XEmpty6` 57 | 58 ::: $DIR/auxiliary/empty-struct.rs:3:1 59 | 60LL | pub struct XEmpty6(); 61 | --------------------- similarly named tuple struct `XEmpty6` defined here 62 63error: aborting due to 4 previous errors 64 65For more information about this error, try `rustc --explain E0532`.