1 error[E0004]: non-exhaustive patterns: `A` not covered
2 --> $DIR/non-exhaustive-match.rs:7:11
10 LL | match x { T::B => { } }
11 | ^ pattern `A` not covered
13 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
14 = note: the matched value is of type `T`
16 error[E0004]: non-exhaustive patterns: `false` not covered
17 --> $DIR/non-exhaustive-match.rs:8:11
20 | ^^^^ pattern `false` not covered
22 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
23 = note: the matched value is of type `bool`
25 error[E0004]: non-exhaustive patterns: `Some(_)` not covered
26 --> $DIR/non-exhaustive-match.rs:11:11
29 | ^^^^^^^^ pattern `Some(_)` not covered
31 ::: $SRC_DIR/core/src/option.rs:LL:COL
33 LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
36 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
37 = note: the matched value is of type `Option<i32>`
39 error[E0004]: non-exhaustive patterns: `(_, _, i32::MIN..=3_i32)` and `(_, _, 5_i32..=i32::MAX)` not covered
40 --> $DIR/non-exhaustive-match.rs:14:11
42 LL | match (2, 3, 4) {
43 | ^^^^^^^^^ patterns `(_, _, i32::MIN..=3_i32)` and `(_, _, 5_i32..=i32::MAX)` not covered
45 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
46 = note: the matched value is of type `(i32, i32, i32)`
48 error[E0004]: non-exhaustive patterns: `(A, A)` and `(B, B)` not covered
49 --> $DIR/non-exhaustive-match.rs:18:11
51 LL | match (T::A, T::A) {
52 | ^^^^^^^^^^^^ patterns `(A, A)` and `(B, B)` not covered
54 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
55 = note: the matched value is of type `(T, T)`
57 error[E0004]: non-exhaustive patterns: `B` not covered
58 --> $DIR/non-exhaustive-match.rs:22:11
67 | ^^^^ pattern `B` not covered
69 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
70 = note: the matched value is of type `T`
72 error[E0004]: non-exhaustive patterns: `[]` not covered
73 --> $DIR/non-exhaustive-match.rs:33:11
76 | ^^^^ pattern `[]` not covered
78 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
79 = note: the matched value is of type `[Option<isize>]`
81 error[E0004]: non-exhaustive patterns: `[_, _, _, _, ..]` not covered
82 --> $DIR/non-exhaustive-match.rs:46:11
85 | ^^^^ pattern `[_, _, _, _, ..]` not covered
87 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
88 = note: the matched value is of type `[f32]`
90 error: aborting due to 8 previous errors
92 For more information about this error, try `rustc --explain E0004`.