fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0004]: non-exhaustive patterns: `&[false, _]` not covered 2 --> $DIR/slice-patterns-exhaustiveness.rs:8:11 3 | 4LL | match s2 { 5 | ^^ pattern `&[false, _]` not covered 6 | 7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 8 = note: the matched value is of type `&[bool; 2]` 9 10error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered 11 --> $DIR/slice-patterns-exhaustiveness.rs:12:11 12 | 13LL | match s3 { 14 | ^^ pattern `&[false, ..]` not covered 15 | 16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 17 = note: the matched value is of type `&[bool; 3]` 18 19error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered 20 --> $DIR/slice-patterns-exhaustiveness.rs:16:11 21 | 22LL | match s10 { 23 | ^^^ pattern `&[false, ..]` not covered 24 | 25 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 26 = note: the matched value is of type `&[bool; 10]` 27 28error[E0004]: non-exhaustive patterns: `&[false, true]` not covered 29 --> $DIR/slice-patterns-exhaustiveness.rs:25:11 30 | 31LL | match s2 { 32 | ^^ pattern `&[false, true]` not covered 33 | 34 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 35 = note: the matched value is of type `&[bool; 2]` 36 37error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered 38 --> $DIR/slice-patterns-exhaustiveness.rs:30:11 39 | 40LL | match s3 { 41 | ^^ pattern `&[false, .., true]` not covered 42 | 43 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 44 = note: the matched value is of type `&[bool; 3]` 45 46error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered 47 --> $DIR/slice-patterns-exhaustiveness.rs:35:11 48 | 49LL | match s { 50 | ^ pattern `&[false, .., true]` not covered 51 | 52 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 53 = note: the matched value is of type `&[bool]` 54 55error[E0004]: non-exhaustive patterns: `&[_, ..]` not covered 56 --> $DIR/slice-patterns-exhaustiveness.rs:42:11 57 | 58LL | match s { 59 | ^ pattern `&[_, ..]` not covered 60 | 61 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 62 = note: the matched value is of type `&[bool]` 63 64error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered 65 --> $DIR/slice-patterns-exhaustiveness.rs:46:11 66 | 67LL | match s { 68 | ^ pattern `&[_, _, ..]` not covered 69 | 70 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 71 = note: the matched value is of type `&[bool]` 72 73error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered 74 --> $DIR/slice-patterns-exhaustiveness.rs:51:11 75 | 76LL | match s { 77 | ^ pattern `&[false, ..]` not covered 78 | 79 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 80 = note: the matched value is of type `&[bool]` 81 82error[E0004]: non-exhaustive patterns: `&[false, _, ..]` not covered 83 --> $DIR/slice-patterns-exhaustiveness.rs:56:11 84 | 85LL | match s { 86 | ^ pattern `&[false, _, ..]` not covered 87 | 88 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 89 = note: the matched value is of type `&[bool]` 90 91error[E0004]: non-exhaustive patterns: `&[_, .., false]` not covered 92 --> $DIR/slice-patterns-exhaustiveness.rs:62:11 93 | 94LL | match s { 95 | ^ pattern `&[_, .., false]` not covered 96 | 97 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 98 = note: the matched value is of type `&[bool]` 99 100error[E0004]: non-exhaustive patterns: `&[_, _, .., true]` not covered 101 --> $DIR/slice-patterns-exhaustiveness.rs:69:11 102 | 103LL | match s { 104 | ^ pattern `&[_, _, .., true]` not covered 105 | 106 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 107 = note: the matched value is of type `&[bool]` 108 109error[E0004]: non-exhaustive patterns: `&[true, _, .., _]` not covered 110 --> $DIR/slice-patterns-exhaustiveness.rs:76:11 111 | 112LL | match s { 113 | ^ pattern `&[true, _, .., _]` not covered 114 | 115 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 116 = note: the matched value is of type `&[bool]` 117 118error[E0004]: non-exhaustive patterns: `&[..]` not covered 119 --> $DIR/slice-patterns-exhaustiveness.rs:85:11 120 | 121LL | match s { 122 | ^ pattern `&[..]` not covered 123 | 124 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 125 = note: the matched value is of type `&[bool]` 126 127error[E0004]: non-exhaustive patterns: `&[true]` not covered 128 --> $DIR/slice-patterns-exhaustiveness.rs:89:11 129 | 130LL | match s { 131 | ^ pattern `&[true]` not covered 132 | 133 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 134 = note: the matched value is of type `&[bool]` 135 136error[E0004]: non-exhaustive patterns: `&[false]` not covered 137 --> $DIR/slice-patterns-exhaustiveness.rs:97:11 138 | 139LL | match s1 { 140 | ^^ pattern `&[false]` not covered 141 | 142 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 143 = note: the matched value is of type `&[bool; 1]` 144 145error: aborting due to 16 previous errors 146 147For more information about this error, try `rustc --explain E0004`.