diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err')
10 files changed, 34 insertions, 34 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast index 307d9b31b..c131b79a7 100644 --- a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast +++ b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast | |||
@@ -34,7 +34,7 @@ [email protected] | |||
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | BIN[email protected] | 37 | IDENT[email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "builder" | 39 | [email protected] "builder" |
40 | [email protected] | 40 | [email protected] |
@@ -51,7 +51,7 @@ [email protected] | |||
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | BIN[email protected] | 54 | IDENT[email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "tokens" | 56 | [email protected] "tokens" |
57 | [email protected] | 57 | [email protected] |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] |
72 | BIN[email protected] | 72 | IDENT[email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "events" | 74 | [email protected] "events" |
75 | [email protected] | 75 | [email protected] |
@@ -96,7 +96,7 @@ [email protected] | |||
96 | [email protected] | 96 | [email protected] |
97 | [email protected] | 97 | [email protected] |
98 | [email protected] | 98 | [email protected] |
99 | BIN[email protected] | 99 | IDENT[email protected] |
100 | [email protected] | 100 | [email protected] |
101 | [email protected] | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] |
@@ -111,7 +111,7 @@ [email protected] | |||
111 | [email protected] | 111 | [email protected] |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] |
114 | BIN[email protected] | 114 | IDENT[email protected] |
115 | [email protected] | 115 | [email protected] |
116 | [email protected] "eat_ws" | 116 | [email protected] "eat_ws" |
117 | [email protected] | 117 | [email protected] |
@@ -121,7 +121,7 @@ [email protected] | |||
121 | [email protected] | 121 | [email protected] |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | BIN[email protected] | 124 | IDENT[email protected] |
125 | [email protected] | 125 | [email protected] |
126 | [email protected] "idx" | 126 | [email protected] "idx" |
127 | [email protected] | 127 | [email protected] |
@@ -172,7 +172,7 @@ [email protected] | |||
172 | [email protected] | 172 | [email protected] |
173 | [email protected] "Some" | 173 | [email protected] "Some" |
174 | [email protected] | 174 | [email protected] |
175 | BIN[email protected] | 175 | IDENT[email protected] |
176 | [email protected] | 176 | [email protected] |
177 | [email protected] "token" | 177 | [email protected] "token" |
178 | [email protected] | 178 | [email protected] |
@@ -185,7 +185,7 @@ [email protected] | |||
185 | err: `expected COMMA` | 185 | err: `expected COMMA` |
186 | [email protected] | 186 | [email protected] |
187 | [email protected] | 187 | [email protected] |
188 | BIN[email protected] | 188 | IDENT[email protected] |
189 | [email protected] | 189 | [email protected] |
190 | [email protected] "tokens" | 190 | [email protected] "tokens" |
191 | err: `expected COMMA` | 191 | err: `expected COMMA` |
@@ -205,7 +205,7 @@ [email protected] | |||
205 | [email protected] | 205 | [email protected] |
206 | [email protected] | 206 | [email protected] |
207 | err: `expected COMMA` | 207 | err: `expected COMMA` |
208 | BIN[email protected] | 208 | IDENT[email protected] |
209 | [email protected] | 209 | [email protected] |
210 | [email protected] "idx" | 210 | [email protected] "idx" |
211 | [email protected] | 211 | [email protected] |
@@ -229,7 +229,7 @@ [email protected] | |||
229 | [email protected] | 229 | [email protected] |
230 | err: `expected COMMA` | 230 | err: `expected COMMA` |
231 | [email protected] | 231 | [email protected] |
232 | BIN[email protected] | 232 | IDENT[email protected] |
233 | [email protected] | 233 | [email protected] |
234 | [email protected] "token" | 234 | [email protected] "token" |
235 | err: `expected COMMA` | 235 | err: `expected COMMA` |
@@ -239,7 +239,7 @@ [email protected] | |||
239 | [email protected] | 239 | [email protected] |
240 | err: `expected COMMA` | 240 | err: `expected COMMA` |
241 | [email protected] | 241 | [email protected] |
242 | BIN[email protected] | 242 | IDENT[email protected] |
243 | [email protected] | 243 | [email protected] |
244 | [email protected] "kind" | 244 | [email protected] "kind" |
245 | err: `expected COMMA` | 245 | err: `expected COMMA` |
@@ -265,7 +265,7 @@ [email protected] | |||
265 | err: `expected COMMA` | 265 | err: `expected COMMA` |
266 | [email protected] | 266 | [email protected] |
267 | [email protected] | 267 | [email protected] |
268 | BIN[email protected] | 268 | IDENT[email protected] |
269 | [email protected] | 269 | [email protected] |
270 | [email protected] "break" | 270 | [email protected] "break" |
271 | err: `expected COMMA` | 271 | err: `expected COMMA` |
@@ -282,7 +282,7 @@ [email protected] | |||
282 | err: `expected COMMA` | 282 | err: `expected COMMA` |
283 | [email protected] | 283 | [email protected] |
284 | [email protected] | 284 | [email protected] |
285 | BIN[email protected] | 285 | IDENT[email protected] |
286 | [email protected] | 286 | [email protected] |
287 | [email protected] "builder" | 287 | [email protected] "builder" |
288 | err: `expected COMMA` | 288 | err: `expected COMMA` |
@@ -298,7 +298,7 @@ [email protected] | |||
298 | [email protected] | 298 | [email protected] |
299 | [email protected] "leaf" | 299 | [email protected] "leaf" |
300 | [email protected] | 300 | [email protected] |
301 | BIN[email protected] | 301 | IDENT[email protected] |
302 | [email protected] | 302 | [email protected] |
303 | [email protected] "token" | 303 | [email protected] "token" |
304 | err: `expected COMMA` | 304 | err: `expected COMMA` |
@@ -306,12 +306,12 @@ [email protected] | |||
306 | [email protected] | 306 | [email protected] |
307 | [email protected] | 307 | [email protected] |
308 | err: `expected COMMA` | 308 | err: `expected COMMA` |
309 | BIN[email protected] | 309 | IDENT[email protected] |
310 | [email protected] | 310 | [email protected] |
311 | [email protected] "kind" | 311 | [email protected] "kind" |
312 | [email protected] | 312 | [email protected] |
313 | [email protected] | 313 | [email protected] |
314 | BIN[email protected] | 314 | IDENT[email protected] |
315 | [email protected] | 315 | [email protected] |
316 | [email protected] "token" | 316 | [email protected] "token" |
317 | err: `expected COMMA` | 317 | err: `expected COMMA` |
@@ -319,7 +319,7 @@ [email protected] | |||
319 | [email protected] | 319 | [email protected] |
320 | [email protected] | 320 | [email protected] |
321 | err: `expected COMMA` | 321 | err: `expected COMMA` |
322 | BIN[email protected] | 322 | IDENT[email protected] |
323 | [email protected] | 323 | [email protected] |
324 | [email protected] "len" | 324 | [email protected] "len" |
325 | [email protected] | 325 | [email protected] |
@@ -336,7 +336,7 @@ [email protected] | |||
336 | [email protected] | 336 | [email protected] |
337 | err: `expected COMMA` | 337 | err: `expected COMMA` |
338 | [email protected] | 338 | [email protected] |
339 | BIN[email protected] | 339 | IDENT[email protected] |
340 | [email protected] | 340 | [email protected] |
341 | [email protected] "idx" | 341 | [email protected] "idx" |
342 | err: `expected COMMA` | 342 | err: `expected COMMA` |
diff --git a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast index bb4a28f4e..fe094f61c 100644 --- a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast +++ b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast | |||
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "foo" | 12 | [email protected] "foo" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "let" | 26 | [email protected] "let" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | BIN[email protected] | 28 | IDENT[email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "bar" | 30 | [email protected] "bar" |
31 | [email protected] " " | 31 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast index bc95b8512..72939fc98 100644 --- a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast +++ b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast | |||
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "res" | 43 | [email protected] "res" |
44 | [email protected] " " | 44 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast index f6fa964b7..72c05bd96 100644 --- a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast +++ b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast | |||
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "foo" | 19 | [email protected] "foo" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "let" | 24 | [email protected] "let" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | BIN[email protected] | 26 | IDENT[email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "bar" | 28 | [email protected] "bar" |
29 | [email protected] " " | 29 | [email protected] " " |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "let" | 40 | [email protected] "let" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | BIN[email protected] | 42 | IDENT[email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "baz" | 44 | [email protected] "baz" |
45 | [email protected] " " | 45 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast index ba4ce4795..b32845537 100644 --- a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast +++ b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast | |||
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "x" | 12 | [email protected] "x" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] "," | 20 | [email protected] "," |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | BIN[email protected] | 23 | IDENT[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "y" | 25 | [email protected] "y" |
26 | [email protected] ")" | 26 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/err/0025_nope.rast b/crates/ra_syntax/test_data/parser/err/0025_nope.rast index fca646557..83fc9fe77 100644 --- a/crates/ra_syntax/test_data/parser/err/0025_nope.rast +++ b/crates/ra_syntax/test_data/parser/err/0025_nope.rast | |||
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "let" | 70 | [email protected] "let" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | BIN[email protected] | 72 | IDENT[email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "a" | 74 | [email protected] "a" |
75 | [email protected] " " | 75 | [email protected] " " |
@@ -175,7 +175,7 @@ [email protected] | |||
175 | [email protected] | 175 | [email protected] |
176 | [email protected] "let" | 176 | [email protected] "let" |
177 | [email protected] " " | 177 | [email protected] " " |
178 | BIN[email protected] | 178 | IDENT[email protected] |
179 | [email protected] | 179 | [email protected] |
180 | [email protected] "bad_syntax" | 180 | [email protected] "bad_syntax" |
181 | [email protected] " " | 181 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast index bfcd0149e..c6402cdd8 100644 --- a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast +++ b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast | |||
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "a" | 12 | [email protected] "a" |
13 | [email protected] ":" | 13 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast index 55ff3943f..a443b37db 100644 --- a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast +++ b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast | |||
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "inner" | 19 | [email protected] "inner" |
20 | [email protected] " " | 20 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast index 303a49576..d9d49bfb5 100644 --- a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast +++ b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast | |||
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] "ref" | 18 | [email protected] "ref" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] "mut" | 42 | [email protected] "mut" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] | 62 | [email protected] |
63 | [email protected] "let" | 63 | [email protected] "let" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | BIN[email protected] | 65 | IDENT[email protected] |
66 | [email protected] "ref" | 66 | [email protected] "ref" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] "mut" | 68 | [email protected] "mut" |
diff --git a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast index 7a5e115bc..a9c5b70fd 100644 --- a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast | |||
@@ -53,7 +53,7 @@ [email protected] | |||
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "|" | 54 | [email protected] "|" |
55 | [email protected] | 55 | [email protected] |
56 | BIN[email protected] | 56 | IDENT[email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "it" | 58 | [email protected] "it" |
59 | [email protected] "|" | 59 | [email protected] "|" |