aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-09-20 16:54:01 +0100
committerGitHub <[email protected]>2019-09-20 16:54:01 +0100
commit3575f7c4a2c20ed84626e2652be195fc26dd1add (patch)
tree2610083075f1a4d7f3f19a3a31d15991c61f873f /crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs
parent0492b18ed47115c630cf3490fcdf904155f6e496 (diff)
parent17a45a686c42522ffb668b1989d58219f76caf51 (diff)
Merge #1884
1884: Add indexing to record_field_pat r=matklad a=kjeremy Fixes #1870 Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs
new file mode 100644
index 000000000..26b1d5f89
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs
@@ -0,0 +1,4 @@
1fn foo() {
2 let S { 0: 1 } = ();
3 let S { x: 1 } = ();
4}