]> git.lizzy.rs Git - rust.git/blob - tests/pretty/struct-pattern.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[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; }