diff options
Diffstat (limited to 'crates/ra_syntax/test_data')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt index ee0ac52c3..310a82464 100644 --- a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt +++ b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt | |||
@@ -12,8 +12,8 @@ SOURCE_FILE@[0; 112) | |||
12 | BLOCK@[7; 33) | 12 | BLOCK@[7; 33) |
13 | L_CURLY@[7; 8) "{" | 13 | L_CURLY@[7; 8) "{" |
14 | WHITESPACE@[8; 9) " " | 14 | WHITESPACE@[8; 9) " " |
15 | EXPR_STMT@[9; 15) | 15 | EXPR_STMT@[9; 26) |
16 | ARRAY_EXPR@[9; 15) | 16 | ARRAY_EXPR@[9; 26) |
17 | L_BRACK@[9; 10) "[" | 17 | L_BRACK@[9; 10) "[" |
18 | LITERAL@[10; 11) | 18 | LITERAL@[10; 11) |
19 | INT_NUMBER@[10; 11) "1" | 19 | INT_NUMBER@[10; 11) "1" |
@@ -22,17 +22,13 @@ SOURCE_FILE@[0; 112) | |||
22 | LITERAL@[13; 14) | 22 | LITERAL@[13; 14) |
23 | INT_NUMBER@[13; 14) "2" | 23 | INT_NUMBER@[13; 14) "2" |
24 | COMMA@[14; 15) "," | 24 | COMMA@[14; 15) "," |
25 | WHITESPACE@[15; 16) " " | 25 | WHITESPACE@[15; 16) " " |
26 | EXPR_STMT@[16; 17) | 26 | ERROR@[16; 17) |
27 | ERROR@[16; 17) | 27 | AT@[16; 17) "@" |
28 | AT@[16; 17) "@" | ||
29 | EXPR_STMT@[17; 18) | ||
30 | ERROR@[17; 18) | ||
31 | COMMA@[17; 18) "," | 28 | COMMA@[17; 18) "," |
32 | WHITESPACE@[18; 19) " " | 29 | WHITESPACE@[18; 19) " " |
33 | STRUCT_DEF@[19; 26) | 30 | ERROR@[19; 25) |
34 | STRUCT_KW@[19; 25) "struct" | 31 | STRUCT_KW@[19; 25) "struct" |
35 | ERROR@[25; 26) | ||
36 | COMMA@[25; 26) "," | 32 | COMMA@[25; 26) "," |
37 | WHITESPACE@[26; 27) " " | 33 | WHITESPACE@[26; 27) " " |
38 | LET_STMT@[27; 31) | 34 | LET_STMT@[27; 31) |
@@ -151,15 +147,12 @@ SOURCE_FILE@[0; 112) | |||
151 | WHITESPACE@[109; 110) " " | 147 | WHITESPACE@[109; 110) " " |
152 | R_CURLY@[110; 111) "}" | 148 | R_CURLY@[110; 111) "}" |
153 | WHITESPACE@[111; 112) "\n" | 149 | WHITESPACE@[111; 112) "\n" |
154 | error 15: expected expression | ||
155 | error 15: expected R_BRACK | ||
156 | error 15: expected SEMI | ||
157 | error 16: expected expression | 150 | error 16: expected expression |
158 | error 17: expected SEMI | 151 | error 19: expected expression |
159 | error 17: expected expression | 152 | error 26: expected expression |
160 | error 18: expected SEMI | 153 | error 26: expected COMMA |
161 | error 25: expected a name | 154 | error 26: expected R_BRACK |
162 | error 26: expected `;`, `{`, or `(` | 155 | error 26: expected SEMI |
163 | error 30: expected pattern | 156 | error 30: expected pattern |
164 | error 31: expected SEMI | 157 | error 31: expected SEMI |
165 | error 52: expected expression | 158 | error 52: expected expression |