aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0073_struct_pat_fields.rs
blob: da3412fa8a94a44de833d2edfae5d7b9dd1e2660 (plain)
1
2
3
4
5
6
fn foo() {
    let S {} = ();
    let S { f, ref mut g } = ();
    let S { h: _, ..} = ();
    let S { h: _, } = ();
}