]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-63983.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-63983.stderr
1 error[E0532]: expected unit struct, unit variant or constant, found tuple variant `MyEnum::Tuple`
2 --> $DIR/issue-63983.rs:8:9
3 |
4 LL | Tuple(i32),
5 | ---------- `MyEnum::Tuple` defined here
6 ...
7 LL | MyEnum::Tuple => "",
8 | ^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `MyEnum::Tuple(_)`
9
10 error[E0533]: expected unit struct, unit variant or constant, found struct variant `MyEnum::Struct`
11 --> $DIR/issue-63983.rs:10:9
12 |
13 LL | MyEnum::Struct => "",
14 | ^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
15
16 error: aborting due to 2 previous errors
17
18 Some errors have detailed explanations: E0532, E0533.
19 For more information about an error, try `rustc --explain E0532`.