2019-11-16 16:18:46 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, _]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:8:11
|
2019-11-16 16:18:46 +00:00
|
|
|
|
|
|
|
|
LL | match s2 {
|
|
|
|
| ^^ pattern `&[false, _]` not covered
|
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 2]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-16 16:18:46 +00:00
|
|
|
|
2019-11-17 17:48:45 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:12:11
|
2019-11-16 16:18:46 +00:00
|
|
|
|
|
|
|
|
LL | match s3 {
|
2019-11-17 17:48:45 +00:00
|
|
|
| ^^ pattern `&[false, ..]` not covered
|
2019-11-16 16:18:46 +00:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 3]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-16 16:18:46 +00:00
|
|
|
|
2019-11-17 17:48:45 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:16:11
|
2019-11-16 16:18:46 +00:00
|
|
|
|
|
|
|
|
LL | match s10 {
|
2019-11-17 17:48:45 +00:00
|
|
|
| ^^^ pattern `&[false, ..]` not covered
|
2019-11-16 16:18:46 +00:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 10]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-16 16:18:46 +00:00
|
|
|
|
2019-09-23 20:41:38 +02:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, true]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:25:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s2 {
|
|
|
|
| ^^ pattern `&[false, true]` not covered
|
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 2]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-16 16:05:32 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:30:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s3 {
|
2019-11-16 16:05:32 +00:00
|
|
|
| ^^ pattern `&[false, .., true]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 3]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:35:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[false, .., true]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-03 23:11:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[_, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:42:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-03 23:11:04 +00:00
|
|
|
| ^ pattern `&[_, ..]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-03 23:11:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:46:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-03 23:11:04 +00:00
|
|
|
| ^ pattern `&[_, _, ..]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:51:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[false, ..]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false, _, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:56:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[false, _, ..]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[_, .., false]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:62:11
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[_, .., false]` not covered
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-09-23 20:41:38 +02:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[_, _, .., true]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:69:11
|
2019-10-05 22:57:52 +01:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[_, _, .., true]` not covered
|
2019-10-05 22:57:52 +01:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-10-05 22:57:52 +01:00
|
|
|
|
2019-11-05 16:30:04 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[true, _, .., _]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:76:11
|
2019-10-05 22:57:52 +01:00
|
|
|
|
|
|
|
|
LL | match s {
|
2019-11-05 16:30:04 +00:00
|
|
|
| ^ pattern `&[true, _, .., _]` not covered
|
2019-10-05 22:57:52 +01:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-10-05 22:57:52 +01:00
|
|
|
|
2020-07-01 15:10:51 +02:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:85:11
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
|
|
|
LL | match s {
|
2020-07-01 15:10:51 +02:00
|
|
|
| ^ patterns `&[]` and `&[_, _, ..]` not covered
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-17 22:25:51 +00:00
|
|
|
|
2020-07-01 15:10:51 +02:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:89:11
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
|
|
|
LL | match s {
|
2020-07-01 15:10:51 +02:00
|
|
|
| ^ patterns `&[]` and `&[_, _, ..]` not covered
|
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2020-07-01 15:10:51 +02:00
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
|
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:93:11
|
|
|
|
|
|
|
|
|
LL | match s {
|
|
|
|
| ^ patterns `&[]` and `&[_, _, ..]` not covered
|
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2020-07-01 15:10:51 +02:00
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
|
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:98:11
|
|
|
|
|
|
|
|
|
LL | match s {
|
|
|
|
| ^ patterns `&[]` and `&[_, _, ..]` not covered
|
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2020-07-01 15:10:51 +02:00
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
|
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:103:11
|
|
|
|
|
|
|
|
|
LL | match s {
|
|
|
|
| ^ pattern `&[_, _, ..]` not covered
|
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2020-07-01 15:10:51 +02:00
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `&[false]` not covered
|
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:108:11
|
|
|
|
|
|
|
|
|
LL | match s {
|
|
|
|
| ^ pattern `&[false]` not covered
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-17 22:25:51 +00:00
|
|
|
|
2019-11-17 22:43:06 +00:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[false]` not covered
|
2020-07-01 15:10:51 +02:00
|
|
|
--> $DIR/slice-patterns-exhaustiveness.rs:121:11
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
|
|
|
LL | match s1 {
|
2019-11-17 22:43:06 +00:00
|
|
|
| ^^ pattern `&[false]` not covered
|
2019-11-17 22:25:51 +00:00
|
|
|
|
|
2020-03-27 06:44:30 +01:00
|
|
|
= note: the matched value is of type `&[bool; 1]`
|
2021-12-16 02:05:58 +00:00
|
|
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
2019-11-17 22:25:51 +00:00
|
|
|
|
2020-07-01 15:10:51 +02:00
|
|
|
error: aborting due to 20 previous errors
|
2019-09-23 20:41:38 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|