]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc-2008-non-exhaustive/uninhabited/indirect_match.stderr
abca542373f3ad0d1e34eb9da542f05d3f9f1df9
[rustc.git] / src / test / ui / rfc-2008-non-exhaustive / uninhabited / indirect_match.stderr
1 error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedEnum` is non-empty
2 --> $DIR/indirect_match.rs:19:11
3 |
4 LL | match x {}
5 | ^
6 |
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8
9 error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedStruct` is non-empty
10 --> $DIR/indirect_match.rs:23:11
11 |
12 LL | match x {}
13 | ^
14 |
15 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
16
17 error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedTupleStruct` is non-empty
18 --> $DIR/indirect_match.rs:27:11
19 |
20 LL | match x {}
21 | ^
22 |
23 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24
25 error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedVariants` is non-empty
26 --> $DIR/indirect_match.rs:33:11
27 |
28 LL | match x {}
29 | ^
30 |
31 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
32
33 error: aborting due to 4 previous errors
34
35 For more information about this error, try `rustc --explain E0004`.