fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0532]: expected tuple struct/variant, found unit struct `Empty2` 2 --> $DIR/empty-struct-unit-pat.rs:21:9 3 | 4LL | Empty2() => () 5 | ^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6` 6 7error[E0532]: expected tuple struct/variant, found unit struct `XEmpty2` 8 --> $DIR/empty-struct-unit-pat.rs:24:9 9 | 10LL | XEmpty2() => () 11 | ^^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6` 12 13error[E0532]: expected tuple struct/variant, found unit struct `Empty2` 14 --> $DIR/empty-struct-unit-pat.rs:27:9 15 | 16LL | Empty2(..) => () 17 | ^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6` 18 19error[E0532]: expected tuple struct/variant, found unit struct `XEmpty2` 20 --> $DIR/empty-struct-unit-pat.rs:30:9 21 | 22LL | XEmpty2(..) => () 23 | ^^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6` 24 25error[E0532]: expected tuple struct/variant, found unit variant `E::Empty4` 26 --> $DIR/empty-struct-unit-pat.rs:34:9 27 | 28LL | E::Empty4() => () 29 | ^^^^^^^^^ not a tuple struct/variant 30 31error[E0532]: expected tuple struct/variant, found unit variant `XE::XEmpty4` 32 --> $DIR/empty-struct-unit-pat.rs:37:9 33 | 34LL | XE::XEmpty4() => (), 35 | ^^^^------- 36 | | 37 | help: a tuple variant with a similar name exists: `XEmpty5` 38 39error[E0532]: expected tuple struct/variant, found unit variant `E::Empty4` 40 --> $DIR/empty-struct-unit-pat.rs:42:9 41 | 42LL | E::Empty4(..) => () 43 | ^^^^^^^^^ not a tuple struct/variant 44 45error[E0532]: expected tuple struct/variant, found unit variant `XE::XEmpty4` 46 --> $DIR/empty-struct-unit-pat.rs:45:9 47 | 48LL | XE::XEmpty4(..) => (), 49 | ^^^^------- 50 | | 51 | help: a tuple variant with a similar name exists: `XEmpty5` 52 53error: aborting due to 8 previous errors 54 55For more information about this error, try `rustc --explain E0532`.