]>
Commit | Line | Data |
---|---|---|
1 | error[E0004]: non-exhaustive patterns: `Unstable` not covered | |
2 | --> $DIR/unstable-gated-patterns.rs:10:11 | |
3 | | | |
4 | LL | match Foo::Stable { | |
5 | | ^^^^^^^^^^^ pattern `Unstable` not covered | |
6 | | | |
7 | ::: $DIR/auxiliary/unstable.rs:11:5 | |
8 | | | |
9 | LL | Unstable, | |
10 | | -------- not covered | |
11 | | | |
12 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
13 | = note: the matched value is of type `Foo` | |
14 | ||
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0004`. |