]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-argm-statics-2.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / match / match-argm-statics-2.stderr
1 error[E0004]: non-exhaustive patterns: `(true, false)` not covered
2   --> $DIR/match-argm-statics-2.rs:27:11
3    |
4 LL |     match (true, false) {
5    |           ^^^^^^^^^^^^^ pattern `(true, false)` not covered
6
7 error[E0004]: non-exhaustive patterns: `Some(Some(West))` not covered
8   --> $DIR/match-argm-statics-2.rs:39:11
9    |
10 LL |     match Some(Some(North)) {
11    |           ^^^^^^^^^^^^^^^^^ pattern `Some(Some(West))` not covered
12
13 error[E0004]: non-exhaustive patterns: `Foo { bar: Some(North), baz: NewBool(true) }` not covered
14   --> $DIR/match-argm-statics-2.rs:58:11
15    |
16 LL |     match (Foo { bar: Some(North), baz: NewBool(true) }) {
17    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Foo { bar: Some(North), baz: NewBool(true) }` not covered
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0004`.