diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.rs new file mode 100644 index 000000000..da3412fa8 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.rs | |||
@@ -0,0 +1,6 @@ | |||
1 | fn foo() { | ||
2 | let S {} = (); | ||
3 | let S { f, ref mut g } = (); | ||
4 | let S { h: _, ..} = (); | ||
5 | let S { h: _, } = (); | ||
6 | } | ||