rust/src/test/ui/issues/issue-pr29383.stderr

16 lines
499 B
Plaintext
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0532]: expected tuple struct/variant, found unit variant `E::A`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-pr29383.rs:9:14
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | Some(E::A(..)) => {}
2018-07-15 14:11:54 -07:00
| ^^^^ not a tuple struct/variant
error[E0532]: expected tuple struct/variant, found unit variant `E::B`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-pr29383.rs:10:14
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | Some(E::B(..)) => {}
2018-07-15 14:11:54 -07:00
| ^^^^ not a tuple struct/variant
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0532`.