]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-pr29383.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-pr29383.stderr
1 error[E0532]: expected tuple struct or tuple variant, found unit variant `E::A`
2 --> $DIR/issue-pr29383.rs:9:14
3 |
4 LL | A,
5 | - `E::A` defined here
6 ...
7 LL | Some(E::A(..)) => {}
8 | ^^^^^^^^ help: use this syntax instead: `E::A`
9
10 error[E0532]: expected tuple struct or tuple variant, found unit variant `E::B`
11 --> $DIR/issue-pr29383.rs:11:14
12 |
13 LL | B,
14 | - `E::B` defined here
15 ...
16 LL | Some(E::B(..)) => {}
17 | ^^^^^^^^ help: use this syntax instead: `E::B`
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0532`.