]> git.lizzy.rs Git - rust.git/blob - tests/pretty/struct-pattern.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / 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; }