fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0532]: expected tuple struct or tuple variant, found unit variant `E::A` 2 --> $DIR/issue-pr29383.rs:9:14 3 | 4LL | A, 5 | - `E::A` defined here 6... 7LL | Some(E::A(..)) => {} 8 | ^^^^^^^^ help: use this syntax instead: `E::A` 9 10error[E0532]: expected tuple struct or tuple variant, found unit variant `E::B` 11 --> $DIR/issue-pr29383.rs:11:14 12 | 13LL | B, 14 | - `E::B` defined here 15... 16LL | Some(E::B(..)) => {} 17 | ^^^^^^^^ help: use this syntax instead: `E::B` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0532`.