]> git.lizzy.rs Git - rust.git/blob - tests/pretty/struct-pattern.rs
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[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; }