diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-19 00:02:38 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-19 12:37:26 +0000 |
commit | fa43ef30f4f96fc8e4ea1f9c4492bcb07b3335ca (patch) | |
tree | b1c3d3d2e543e8e77c13760119ee7f446e1a858a /crates/ra_syntax/tests | |
parent | bcbfa2cc1146dfa23acb3e61f7ec053733a8fac1 (diff) |
Change parsing of struct field patterns
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.txt | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.txt index ec48eada1..3f7bb10d2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0102_field_pat_list.txt | |||
@@ -43,20 +43,18 @@ SOURCE_FILE@[0; 119) | |||
43 | FIELD_PAT_LIST@[40; 56) | 43 | FIELD_PAT_LIST@[40; 56) |
44 | L_CURLY@[40; 41) | 44 | L_CURLY@[40; 41) |
45 | WHITESPACE@[41; 42) | 45 | WHITESPACE@[41; 42) |
46 | FIELD_PAT@[42; 43) | 46 | BIND_PAT@[42; 43) |
47 | BIND_PAT@[42; 43) | 47 | NAME@[42; 43) |
48 | NAME@[42; 43) | 48 | IDENT@[42; 43) "f" |
49 | IDENT@[42; 43) "f" | ||
50 | COMMA@[43; 44) | 49 | COMMA@[43; 44) |
51 | WHITESPACE@[44; 45) | 50 | WHITESPACE@[44; 45) |
52 | FIELD_PAT@[45; 54) | 51 | BIND_PAT@[45; 54) |
53 | BIND_PAT@[45; 54) | 52 | REF_KW@[45; 48) |
54 | REF_KW@[45; 48) | 53 | WHITESPACE@[48; 49) |
55 | WHITESPACE@[48; 49) | 54 | MUT_KW@[49; 52) |
56 | MUT_KW@[49; 52) | 55 | WHITESPACE@[52; 53) |
57 | WHITESPACE@[52; 53) | 56 | NAME@[53; 54) |
58 | NAME@[53; 54) | 57 | IDENT@[53; 54) "g" |
59 | IDENT@[53; 54) "g" | ||
60 | WHITESPACE@[54; 55) | 58 | WHITESPACE@[54; 55) |
61 | R_CURLY@[55; 56) | 59 | R_CURLY@[55; 56) |
62 | WHITESPACE@[56; 57) | 60 | WHITESPACE@[56; 57) |