1 error[E0532]: expected tuple struct or tuple variant, found unit variant `E::A`
2 --> $DIR/issue-pr29383.rs:9:14
5 | - `E::A` defined here
7 LL | Some(E::A(..)) => {}
8 | ^^^^^^^^ help: use this syntax instead: `E::A`
10 error[E0532]: expected tuple struct or tuple variant, found unit variant `E::B`
11 --> $DIR/issue-pr29383.rs:11:14
14 | - `E::B` defined here
16 LL | Some(E::B(..)) => {}
17 | ^^^^^^^^ help: use this syntax instead: `E::B`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0532`.