]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/struct-pattern.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[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; }