fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
641 B21 linesraw
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`.