]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/fn-pattern-expected-type-2.rs
Rollup merge of #104822 - spastorino:selctx-new-instead-of-with_query_mode, r=lcnr
[rust.git] / src / test / ui / binding / fn-pattern-expected-type-2.rs
1 // run-pass
2 pub fn main() {
3     let v : &[(isize,isize)] = &[ (1, 2), (3, 4), (5, 6) ];
4     for &(x, y) in v {
5         println!("{}", y);
6         println!("{}", x);
7     }
8 }