rust-analyzer/tests/data/parser/inline/0073_struct_pat_fields.rs

7 lines
119 B
Rust
Raw Normal View History

2018-08-04 12:47:45 +00:00
fn foo() {
let S {} = ();
let S { f, ref mut g } = ();
let S { h: _, ..} = ();
let S { h: _, } = ();
}