fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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