3 #![allow(non_shorthand_field_patterns)]
5 #![allow(unused_variables)]
6 // pretty-expanded FIXME #23616
8 #![feature(slice_patterns)]
10 struct Foo(isize, isize, isize, isize);
11 struct Bar{a: isize, b: isize, c: isize, d: isize}
14 let Foo(..) = Foo(5, 5, 5, 5);
15 let Foo(..) = Foo(5, 5, 5, 5);
16 let Bar{..} = Bar{a: 5, b: 5, c: 5, d: 5};
17 let (..) = (5, 5, 5, 5);
18 let Foo(a, b, ..) = Foo(5, 5, 5, 5);
19 let Foo(.., d) = Foo(5, 5, 5, 5);
20 let (a, b, ..) = (5, 5, 5, 5);
21 let (.., c, d) = (5, 5, 5, 5);
22 let Bar{b: b, ..} = Bar{a: 5, b: 5, c: 5, d: 5};