3 #![allow(non_shorthand_field_patterns)]
5 #![allow(unused_variables)]
7 struct Foo(isize, isize, isize, isize);
8 struct Bar{a: isize, b: isize, c: isize, d: isize}
11 let Foo(..) = Foo(5, 5, 5, 5);
12 let Foo(..) = Foo(5, 5, 5, 5);
13 let Bar{..} = Bar{a: 5, b: 5, c: 5, d: 5};
14 let (..) = (5, 5, 5, 5);
15 let Foo(a, b, ..) = Foo(5, 5, 5, 5);
16 let Foo(.., d) = Foo(5, 5, 5, 5);
17 let (a, b, ..) = (5, 5, 5, 5);
18 let (.., c, d) = (5, 5, 5, 5);
19 let Bar{b: b, ..} = Bar{a: 5, b: 5, c: 5, d: 5};