diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0036_partial_use.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0036_partial_use.rast | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast b/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast new file mode 100644 index 000000000..f5490fbe8 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast | |||
@@ -0,0 +1,51 @@ | |||
1 | SOURCE_FILE@[0; 37) | ||
2 | USE_ITEM@[0; 36) | ||
3 | USE_KW@[0; 3) "use" | ||
4 | WHITESPACE@[3; 4) " " | ||
5 | USE_TREE@[4; 36) | ||
6 | PATH@[4; 7) | ||
7 | PATH_SEGMENT@[4; 7) | ||
8 | NAME_REF@[4; 7) | ||
9 | IDENT@[4; 7) "std" | ||
10 | COLONCOLON@[7; 9) "::" | ||
11 | USE_TREE_LIST@[9; 36) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | USE_TREE@[10; 22) | ||
14 | PATH@[10; 22) | ||
15 | PATH@[10; 15) | ||
16 | PATH_SEGMENT@[10; 15) | ||
17 | NAME_REF@[10; 15) | ||
18 | IDENT@[10; 15) "error" | ||
19 | COLONCOLON@[15; 17) "::" | ||
20 | PATH_SEGMENT@[17; 22) | ||
21 | NAME_REF@[17; 22) | ||
22 | IDENT@[17; 22) "Error" | ||
23 | ERROR@[22; 23) | ||
24 | SEMI@[22; 23) ";" | ||
25 | WHITESPACE@[23; 24) "\n" | ||
26 | ERROR@[24; 27) | ||
27 | USE_KW@[24; 27) "use" | ||
28 | WHITESPACE@[27; 28) " " | ||
29 | USE_TREE@[28; 35) | ||
30 | PATH@[28; 35) | ||
31 | PATH@[28; 31) | ||
32 | PATH_SEGMENT@[28; 31) | ||
33 | NAME_REF@[28; 31) | ||
34 | IDENT@[28; 31) "std" | ||
35 | COLONCOLON@[31; 33) "::" | ||
36 | PATH_SEGMENT@[33; 35) | ||
37 | NAME_REF@[33; 35) | ||
38 | IDENT@[33; 35) "io" | ||
39 | ERROR@[35; 36) | ||
40 | SEMI@[35; 36) ";" | ||
41 | WHITESPACE@[36; 37) "\n" | ||
42 | error [22; 22): expected COMMA | ||
43 | error [22; 22): expected one of `*`, `::`, `{`, `self`, `super` or an identifier | ||
44 | error [23; 23): expected COMMA | ||
45 | error [24; 24): expected one of `*`, `::`, `{`, `self`, `super` or an identifier | ||
46 | error [27; 27): expected COMMA | ||
47 | error [35; 35): expected COMMA | ||
48 | error [35; 35): expected one of `*`, `::`, `{`, `self`, `super` or an identifier | ||
49 | error [36; 36): expected COMMA | ||
50 | error [36; 36): expected R_CURLY | ||
51 | error [36; 36): expected SEMI | ||