]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15381.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-15381.stderr
1 error[E0005]: refutable pattern in `for` loop binding: `&[]`, `&[_]`, `&[_, _]` and 1 more not covered
2   --> $DIR/issue-15381.rs:4:9
3    |
4 LL |     for &[x,y,z] in values.chunks(3).filter(|&xs| xs.len() == 3) {
5    |         ^^^^^^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 1 more not covered
6    |
7    = note: the matched value is of type `&[u8]`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0005`.