diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs new file mode 100644 index 000000000..6285e5549 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs | |||
@@ -0,0 +1,6 @@ | |||
1 | fn foo() { | ||
2 | S {}; | ||
3 | S { x, y: 32, }; | ||
4 | S { x, y: 32, ..Default::default() }; | ||
5 | TupleStruct { 0: 1 }; | ||
6 | } | ||