]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0004]: non-exhaustive patterns: `(true, false)` not covered |
0731742a | 2 | --> $DIR/issue-4321.rs:3:31 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | println!("foo {:}", match tup { |
8faf50e0 | 5 | | ^^^ pattern `(true, false)` not covered |
532ac7d7 | 6 | | |
ba9703b0 | 7 | = note: the matched value is of type `(bool, bool)` |
ee023bcb FG |
8 | help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown |
9 | | | |
10 | LL ~ (true, true) => "baz", | |
11 | LL + (true, false) => todo!() | |
12 | | | |
8faf50e0 XL |
13 | |
14 | error: aborting due to previous error | |
15 | ||
16 | For more information about this error, try `rustc --explain E0004`. |