]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/issue-2111.stderr
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mark-Simulacrum
[rust.git] / src / test / ui / pattern / usefulness / issue-2111.stderr
1 error[E0004]: non-exhaustive patterns: `(None, None)` not covered
2   --> $DIR/issue-2111.rs:2:9
3    |
4 LL |   match (a,b) {
5    |         ^^^^^ pattern `(None, None)` not covered
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 `(Option<usize>, Option<usize>)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0004`.