fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0004]: non-exhaustive patterns: `A` not covered 2 --> $DIR/non-exhaustive-match.rs:8:11 3 | 4LL | enum T { A, B } 5 | --------------- 6 | | | 7 | | not covered 8 | `T` defined here 9... 10LL | match x { T::B => { } } 11 | ^ pattern `A` not covered 12 | 13 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 14 15error[E0004]: non-exhaustive patterns: `false` not covered 16 --> $DIR/non-exhaustive-match.rs:9:11 17 | 18LL | match true { 19 | ^^^^ pattern `false` not covered 20 | 21 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 22 23error[E0004]: non-exhaustive patterns: `Some(_)` not covered 24 --> $DIR/non-exhaustive-match.rs:12:11 25 | 26LL | match Some(10) { 27 | ^^^^^^^^ pattern `Some(_)` not covered 28 | 29 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 30 31error[E0004]: non-exhaustive patterns: `(_, _, std::i32::MIN..=3i32)` and `(_, _, 5i32..=std::i32::MAX)` not covered 32 --> $DIR/non-exhaustive-match.rs:15:11 33 | 34LL | match (2, 3, 4) { 35 | ^^^^^^^^^ patterns `(_, _, std::i32::MIN..=3i32)` and `(_, _, 5i32..=std::i32::MAX)` not covered 36 | 37 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 38 39error[E0004]: non-exhaustive patterns: `(A, A)` not covered 40 --> $DIR/non-exhaustive-match.rs:19:11 41 | 42LL | match (T::A, T::A) { 43 | ^^^^^^^^^^^^ pattern `(A, A)` not covered 44 | 45 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 46 47error[E0004]: non-exhaustive patterns: `B` not covered 48 --> $DIR/non-exhaustive-match.rs:23:11 49 | 50LL | enum T { A, B } 51 | --------------- 52 | | | 53 | | not covered 54 | `T` defined here 55... 56LL | match T::A { 57 | ^^^^ pattern `B` not covered 58 | 59 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 60 61error[E0004]: non-exhaustive patterns: `[]` not covered 62 --> $DIR/non-exhaustive-match.rs:34:11 63 | 64LL | match *vec { 65 | ^^^^ pattern `[]` not covered 66 | 67 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 68 69error[E0004]: non-exhaustive patterns: `[_, _, _, _, ..]` not covered 70 --> $DIR/non-exhaustive-match.rs:47:11 71 | 72LL | match *vec { 73 | ^^^^ pattern `[_, _, _, _, ..]` not covered 74 | 75 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 76 77error: aborting due to 8 previous errors 78 79For more information about this error, try `rustc --explain E0004`.