rust/tests/ui/issues/issue-15381.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
403 B
Plaintext
Raw Normal View History

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) {
| ^^^^^^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 1 more not covered
|
= note: the matched value is of type `&[u8]`
2018-07-15 21:11:54 +00:00
error: aborting due to 1 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`.