diff options
Diffstat (limited to 'crates/ra_syntax/test_data')
5 files changed, 10 insertions, 5 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.txt b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.txt index 80bb7733c..3812adc9e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.txt | |||
@@ -82,7 +82,8 @@ SOURCE_FILE@[0; 103) | |||
82 | NAME_REF@[87; 90) | 82 | NAME_REF@[87; 90) |
83 | IDENT@[87; 90) "Bar" | 83 | IDENT@[87; 90) "Bar" |
84 | L_PAREN@[90; 91) "(" | 84 | L_PAREN@[90; 91) "(" |
85 | DOTDOT@[91; 93) ".." | 85 | DOT_DOT_PAT@[91; 93) |
86 | DOTDOT@[91; 93) ".." | ||
86 | R_PAREN@[93; 94) ")" | 87 | R_PAREN@[93; 94) ")" |
87 | WHITESPACE@[94; 95) " " | 88 | WHITESPACE@[94; 95) " " |
88 | EQ@[95; 96) "=" | 89 | EQ@[95; 96) "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.txt b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.txt index c1d669e54..48aaeaf07 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.txt | |||
@@ -27,7 +27,8 @@ SOURCE_FILE@[0; 39) | |||
27 | IDENT@[24; 25) "b" | 27 | IDENT@[24; 25) "b" |
28 | COMMA@[25; 26) "," | 28 | COMMA@[25; 26) "," |
29 | WHITESPACE@[26; 27) " " | 29 | WHITESPACE@[26; 27) " " |
30 | DOTDOT@[27; 29) ".." | 30 | DOT_DOT_PAT@[27; 29) |
31 | DOTDOT@[27; 29) ".." | ||
31 | R_BRACK@[29; 30) "]" | 32 | R_BRACK@[29; 30) "]" |
32 | WHITESPACE@[30; 31) " " | 33 | WHITESPACE@[30; 31) " " |
33 | EQ@[31; 32) "=" | 34 | EQ@[31; 32) "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.txt b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.txt index adc8931e2..666386d31 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.txt | |||
@@ -84,7 +84,8 @@ SOURCE_FILE@[0; 97) | |||
84 | UNDERSCORE@[78; 79) "_" | 84 | UNDERSCORE@[78; 79) "_" |
85 | COMMA@[79; 80) "," | 85 | COMMA@[79; 80) "," |
86 | WHITESPACE@[80; 81) " " | 86 | WHITESPACE@[80; 81) " " |
87 | DOTDOT@[81; 83) ".." | 87 | DOT_DOT_PAT@[81; 83) |
88 | DOTDOT@[81; 83) ".." | ||
88 | WHITESPACE@[83; 84) " " | 89 | WHITESPACE@[83; 84) " " |
89 | COMMA@[84; 85) "," | 90 | COMMA@[84; 85) "," |
90 | WHITESPACE@[85; 86) " " | 91 | WHITESPACE@[85; 86) " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.txt b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.txt index 3fee3a1cf..674dec493 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.txt | |||
@@ -27,7 +27,8 @@ SOURCE_FILE@[0; 39) | |||
27 | IDENT@[24; 25) "b" | 27 | IDENT@[24; 25) "b" |
28 | COMMA@[25; 26) "," | 28 | COMMA@[25; 26) "," |
29 | WHITESPACE@[26; 27) " " | 29 | WHITESPACE@[26; 27) " " |
30 | DOTDOT@[27; 29) ".." | 30 | DOT_DOT_PAT@[27; 29) |
31 | DOTDOT@[27; 29) ".." | ||
31 | R_PAREN@[29; 30) ")" | 32 | R_PAREN@[29; 30) ")" |
32 | WHITESPACE@[30; 31) " " | 33 | WHITESPACE@[30; 31) " " |
33 | EQ@[31; 32) "=" | 34 | EQ@[31; 32) "=" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.txt b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.txt index c18e3c329..3326ab2ae 100644 --- a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.txt +++ b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.txt | |||
@@ -1656,7 +1656,8 @@ SOURCE_FILE@[0; 3813) | |||
1656 | PARAM@[2952; 2962) | 1656 | PARAM@[2952; 2962) |
1657 | TUPLE_PAT@[2952; 2956) | 1657 | TUPLE_PAT@[2952; 2956) |
1658 | L_PAREN@[2952; 2953) "(" | 1658 | L_PAREN@[2952; 2953) "(" |
1659 | DOTDOT@[2953; 2955) ".." | 1659 | DOT_DOT_PAT@[2953; 2955) |
1660 | DOTDOT@[2953; 2955) ".." | ||
1660 | R_PAREN@[2955; 2956) ")" | 1661 | R_PAREN@[2955; 2956) ")" |
1661 | COLON@[2956; 2957) ":" | 1662 | COLON@[2956; 2957) ":" |
1662 | TUPLE_TYPE@[2957; 2962) | 1663 | TUPLE_TYPE@[2957; 2962) |