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

16 lines
499 B
Plaintext
Raw Normal View History

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