]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2008-non-exhaustive/uninhabited/match.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / rfc-2008-non-exhaustive / uninhabited / match.stderr
CommitLineData
48663c56
XL
1error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedEnum` is non-empty
2 --> $DIR/match.rs:19:11
3 |
4LL | match x {}
5 | ^
6 |
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8
60c5eb7d 9error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedStruct` is non-empty
48663c56
XL
10 --> $DIR/match.rs:23:11
11 |
12LL | match x {}
13 | ^
14 |
15 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
16
60c5eb7d 17error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedTupleStruct` is non-empty
48663c56
XL
18 --> $DIR/match.rs:27:11
19 |
20LL | match x {}
21 | ^
22 |
23 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24
60c5eb7d 25error[E0004]: non-exhaustive patterns: `Tuple(_)` and `Struct { .. }` not covered
48663c56
XL
26 --> $DIR/match.rs:31:11
27 |
28LL | match x {}
60c5eb7d 29 | ^ patterns `Tuple(_)` and `Struct { .. }` not covered
48663c56
XL
30 |
31 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
32
33error: aborting due to 4 previous errors
34
35For more information about this error, try `rustc --explain E0004`.