1 error[E0532]: expected tuple struct/variant, found unit variant `E::A`
2 --> $DIR/issue-pr29383.rs:19:14
4 LL | Some(E::A(..)) => {} //~ ERROR expected tuple struct/variant, found unit variant `E::A`
5 | ^^^^ not a tuple struct/variant
7 error[E0532]: expected tuple struct/variant, found unit variant `E::B`
8 --> $DIR/issue-pr29383.rs:20:14
10 LL | Some(E::B(..)) => {} //~ ERROR expected tuple struct/variant, found unit variant `E::B`
11 | ^^^^ not a tuple struct/variant
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0532`.