2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit struct `Empty2`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/empty-struct-unit-pat.rs:21:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | Empty2() => ()
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit struct `XEmpty2`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/empty-struct-unit-pat.rs:24:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | XEmpty2() => ()
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit struct `Empty2`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:28:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | Empty2(..) => ()
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit struct `XEmpty2`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:32:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | XEmpty2(..) => ()
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^^ help: a tuple struct with a similar name exists: `XEmpty6`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `E::Empty4`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:37:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | E::Empty4() => ()
|
2019-10-14 19:20:50 -05:00
|
|
|
| ^^^^^^^^^ not a tuple struct or tuple variant
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `XE::XEmpty4`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:41:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | XE::XEmpty4() => (),
|
|
|
|
| ^^^^-------
|
|
|
|
| |
|
2019-01-09 13:11:00 -06:00
|
|
|
| help: a tuple variant with a similar name exists: `XEmpty5`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `E::Empty4`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:46:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | E::Empty4(..) => ()
|
2019-10-14 19:20:50 -05:00
|
|
|
| ^^^^^^^^^ not a tuple struct or tuple variant
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `XE::XEmpty4`
|
|
|
|
--> $DIR/empty-struct-unit-pat.rs:50:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | XE::XEmpty4(..) => (),
|
|
|
|
| ^^^^-------
|
|
|
|
| |
|
2019-01-09 13:11:00 -06:00
|
|
|
| help: a tuple variant with a similar name exists: `XEmpty5`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0532`.
|