]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/issue-15129.stderr
Rollup merge of #80298 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / pattern / usefulness / issue-15129.stderr
1 error[E0004]: non-exhaustive patterns: `(T1(()), V2(_))` and `(T2(()), V1(_))` not covered
2   --> $DIR/issue-15129.rs:12:11
3    |
4 LL |     match (T::T1(()), V::V2(true)) {
5    |           ^^^^^^^^^^^^^^^^^^^^^^^^ patterns `(T1(()), V2(_))` and `(T2(()), V1(_))` 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 `(T, V)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0004`.