]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/struct-pattern.rs
Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree
[rust.git] / src / test / pretty / struct-pattern.rs
1 // pp-exact
2 // pretty-compare-only
3 // Testing that shorthand struct patterns are preserved
4
5 fn main() { let Foo { a, ref b, mut c, x: y, z: z } = foo; }