]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-31561.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-31561.stderr
1 error[E0005]: refutable pattern in local binding: `Bar` not covered
2   --> $DIR/issue-31561.rs:8:9
3    |
4 LL | / enum Thing {
5 LL | |     Foo(u8),
6 LL | |     Bar,
7 LL | |     Baz
8 LL | | }
9    | |_- `Thing` defined here
10 ...
11 LL |       let Thing::Foo(y) = Thing::Foo(1);
12    |           ^^^^^^^^^^^^^ pattern `Bar` not covered
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0005`.