fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0005]: refutable pattern in `for` loop binding: `&[]`, `&[_]`, `&[_, _]` and 1 more not covered 2 --> $DIR/issue-15381.rs:4:9 3 | 4LL | for &[x,y,z] in values.chunks(3).filter(|&xs| xs.len() == 3) { 5 | ^^^^^^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 1 more not covered 6 7error[E0381]: borrow of possibly-uninitialized variable: `y` 8 --> $DIR/issue-15381.rs:6:26 9 | 10LL | println!("y={}", y); 11 | ^ use of possibly-uninitialized `y` 12 13error: aborting due to 2 previous errors 14 15Some errors have detailed explanations: E0005, E0381. 16For more information about an error, try `rustc --explain E0005`.