]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/slice-patterns-exhaustiveness.stderr
slice_patterns: remove gates in tests
[rust.git] / src / test / ui / pattern / usefulness / slice-patterns-exhaustiveness.stderr
1 error[E0004]: non-exhaustive patterns: `&[false, _]` not covered
2   --> $DIR/slice-patterns-exhaustiveness.rs:8:11
3    |
4 LL |     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
9 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
10   --> $DIR/slice-patterns-exhaustiveness.rs:12:11
11    |
12 LL |     match s3 {
13    |           ^^ pattern `&[false, ..]` not covered
14    |
15    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
16
17 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
18   --> $DIR/slice-patterns-exhaustiveness.rs:16:11
19    |
20 LL |     match s10 {
21    |           ^^^ pattern `&[false, ..]` not covered
22    |
23    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24
25 error[E0004]: non-exhaustive patterns: `&[false, true]` not covered
26   --> $DIR/slice-patterns-exhaustiveness.rs:25:11
27    |
28 LL |     match s2 {
29    |           ^^ pattern `&[false, true]` not covered
30    |
31    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
32
33 error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
34   --> $DIR/slice-patterns-exhaustiveness.rs:30:11
35    |
36 LL |     match s3 {
37    |           ^^ pattern `&[false, .., true]` not covered
38    |
39    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
40
41 error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
42   --> $DIR/slice-patterns-exhaustiveness.rs:35:11
43    |
44 LL |     match s {
45    |           ^ pattern `&[false, .., true]` not covered
46    |
47    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
48
49 error[E0004]: non-exhaustive patterns: `&[_, ..]` not covered
50   --> $DIR/slice-patterns-exhaustiveness.rs:42:11
51    |
52 LL |     match s {
53    |           ^ pattern `&[_, ..]` not covered
54    |
55    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
56
57 error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
58   --> $DIR/slice-patterns-exhaustiveness.rs:46:11
59    |
60 LL |     match s {
61    |           ^ pattern `&[_, _, ..]` not covered
62    |
63    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
64
65 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
66   --> $DIR/slice-patterns-exhaustiveness.rs:51:11
67    |
68 LL |     match s {
69    |           ^ pattern `&[false, ..]` not covered
70    |
71    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
72
73 error[E0004]: non-exhaustive patterns: `&[false, _, ..]` not covered
74   --> $DIR/slice-patterns-exhaustiveness.rs:56:11
75    |
76 LL |     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
81 error[E0004]: non-exhaustive patterns: `&[_, .., false]` not covered
82   --> $DIR/slice-patterns-exhaustiveness.rs:62:11
83    |
84 LL |     match s {
85    |           ^ pattern `&[_, .., false]` not covered
86    |
87    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
88
89 error[E0004]: non-exhaustive patterns: `&[_, _, .., true]` not covered
90   --> $DIR/slice-patterns-exhaustiveness.rs:69:11
91    |
92 LL |     match s {
93    |           ^ pattern `&[_, _, .., true]` not covered
94    |
95    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
96
97 error[E0004]: non-exhaustive patterns: `&[true, _, .., _]` not covered
98   --> $DIR/slice-patterns-exhaustiveness.rs:76:11
99    |
100 LL |     match s {
101    |           ^ pattern `&[true, _, .., _]` not covered
102    |
103    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
104
105 error[E0004]: non-exhaustive patterns: `&[..]` not covered
106   --> $DIR/slice-patterns-exhaustiveness.rs:85:11
107    |
108 LL |     match s {
109    |           ^ pattern `&[..]` not covered
110    |
111    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
112
113 error[E0004]: non-exhaustive patterns: `&[true]` not covered
114   --> $DIR/slice-patterns-exhaustiveness.rs:89:11
115    |
116 LL |     match s {
117    |           ^ pattern `&[true]` not covered
118    |
119    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
120
121 error[E0004]: non-exhaustive patterns: `&[false]` not covered
122   --> $DIR/slice-patterns-exhaustiveness.rs:97:11
123    |
124 LL |     match s1 {
125    |           ^^ pattern `&[false]` not covered
126    |
127    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
128
129 error: aborting due to 16 previous errors
130
131 For more information about this error, try `rustc --explain E0004`.