rust/src/test/ui/issues/issue-15381.stderr

10 lines
336 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0005]: refutable pattern in `for` loop binding: `&[]` not covered
2018-12-25 09:56:47 -06:00
--> $DIR/issue-15381.rs:4:9
2018-07-15 16:11:54 -05:00
|
LL | for &[x,y,z] in values.chunks(3).filter(|&xs| xs.len() == 3) {
| ^^^^^^^^ pattern `&[]` not covered
error: aborting due to previous error
For more information about this error, try `rustc --explain E0005`.