1 error[E0005]: refutable pattern in `for` loop binding: `&[]` not covered
2 --> $DIR/issue-15381.rs:4:9
4 LL | for &[x,y,z] in values.chunks(3).filter(|&xs| xs.len() == 3) {
5 | ^^^^^^^^ pattern `&[]` not covered
7 warning[E0381]: borrow of possibly uninitialized variable: `y`
8 --> $DIR/issue-15381.rs:6:26
10 LL | println!("y={}", y);
11 | ^ use of possibly uninitialized `y`
13 = warning: this error has been downgraded to a warning for backwards compatibility with previous releases
14 = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
16 error: aborting due to previous error
18 Some errors have detailed explanations: E0005, E0381.
19 For more information about an error, try `rustc --explain E0005`.