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