fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.6 KiB39 linesraw
1error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedEnum` is non-empty
2  --> $DIR/indirect_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   = note: the matched value is of type `uninhabited::IndirectUninhabitedEnum`
9
10error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedStruct` is non-empty
11  --> $DIR/indirect_match.rs:23:11
12   |
13LL |     match x {}
14   |           ^
15   |
16   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
17   = note: the matched value is of type `uninhabited::IndirectUninhabitedStruct`
18
19error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedTupleStruct` is non-empty
20  --> $DIR/indirect_match.rs:27:11
21   |
22LL |     match x {}
23   |           ^
24   |
25   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
26   = note: the matched value is of type `uninhabited::IndirectUninhabitedTupleStruct`
27
28error[E0004]: non-exhaustive patterns: type `uninhabited::IndirectUninhabitedVariants` is non-empty
29  --> $DIR/indirect_match.rs:33:11
30   |
31LL |     match x {}
32   |           ^
33   |
34   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
35   = note: the matched value is of type `uninhabited::IndirectUninhabitedVariants`
36
37error: aborting due to 4 previous errors
38
39For more information about this error, try `rustc --explain E0004`.