]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pattern/usefulness/unstable-gated-patterns.stderr
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / pattern / usefulness / unstable-gated-patterns.stderr
CommitLineData
c295e0f8
XL
1error[E0004]: non-exhaustive patterns: `Unstable` not covered
2 --> $DIR/unstable-gated-patterns.rs:10:11
3 |
4LL | match Foo::Stable {
5 | ^^^^^^^^^^^ pattern `Unstable` not covered
6 |
7 ::: $DIR/auxiliary/unstable.rs:11:5
8 |
9LL | 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
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0004`.