]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/issue-4321.stderr
Rollup merge of #96051 - newpavlov:duration_rounding, r=nagisa,joshtriplett
[rust.git] / src / test / ui / pattern / usefulness / issue-4321.stderr
1 error[E0004]: non-exhaustive patterns: `(true, false)` not covered
2   --> $DIR/issue-4321.rs:3:31
3    |
4 LL |     println!("foo {:}", match tup {
5    |                               ^^^ pattern `(true, false)` not covered
6    |
7    = note: the matched value is of type `(bool, bool)`
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    |
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0004`.