]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error[E0004]: non-exhaustive patterns: `(A, Some(A))`, `(A, Some(B))`, `(B, Some(B))` and 2 more not covered |
2 | --> $DIR/issue-72377.rs:8:11 | |
3 | | | |
4 | LL | match (x, y) { | |
5 | | ^^^^^^ patterns `(A, Some(A))`, `(A, Some(B))`, `(B, Some(B))` and 2 more 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 `(X, Option<X>)` | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0004`. |