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