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
401 B
Plaintext
Raw Normal View History

2022-12-23 14:02:23 -06:00
error[E0005]: refutable pattern in `for` loop binding
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) {
| ^^^^^^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 1 more not covered
|
= note: the matched value is of type `&[u8]`
2018-07-15 16:11:54 -05:00
2019-12-27 11:53:00 -06:00
error: aborting due to previous error
2018-07-15 16:11:54 -05:00
2019-12-27 11:53:00 -06:00
For more information about this error, try `rustc --explain E0005`.