2022-12-23 20:02:23 +00:00
|
|
|
error[E0005]: refutable pattern in `for` loop binding
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-15381.rs:4:9
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
|
LL | for &[x,y,z] in values.chunks(3).filter(|&xs| xs.len() == 3) {
|
2019-09-09 14:44:06 +00:00
|
|
|
| ^^^^^^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 1 more not covered
|
2020-03-27 05:44:30 +00:00
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[u8]`
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-12-27 17:53:00 +00:00
|
|
|
error: aborting due to previous error
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-12-27 17:53:00 +00:00
|
|
|
For more information about this error, try `rustc --explain E0005`.
|