diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast b/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast new file mode 100644 index 000000000..6343580e0 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast | |||
@@ -0,0 +1,44 @@ | |||
1 | SOURCE_FILE@[0; 56) | ||
2 | FN_DEF@[0; 55) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK_EXPR@[9; 55) | ||
12 | BLOCK@[9; 55) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 38) | ||
16 | CALL_EXPR@[15; 38) | ||
17 | PATH_EXPR@[15; 18) | ||
18 | PATH@[15; 18) | ||
19 | PATH_SEGMENT@[15; 18) | ||
20 | NAME_REF@[15; 18) | ||
21 | IDENT@[15; 18) "foo" | ||
22 | ARG_LIST@[18; 38) | ||
23 | L_PAREN@[18; 19) "(" | ||
24 | WHITESPACE@[19; 28) "\n " | ||
25 | LITERAL@[28; 29) | ||
26 | INT_NUMBER@[28; 29) "1" | ||
27 | COMMA@[29; 30) "," | ||
28 | WHITESPACE@[30; 31) " " | ||
29 | LITERAL@[31; 32) | ||
30 | INT_NUMBER@[31; 32) "2" | ||
31 | WHITESPACE@[32; 37) "\n " | ||
32 | R_PAREN@[37; 38) ")" | ||
33 | WHITESPACE@[38; 43) "\n " | ||
34 | EXPR_STMT@[43; 53) | ||
35 | RETURN_EXPR@[43; 52) | ||
36 | RETURN_KW@[43; 49) "return" | ||
37 | WHITESPACE@[49; 50) " " | ||
38 | LITERAL@[50; 52) | ||
39 | INT_NUMBER@[50; 52) "92" | ||
40 | SEMI@[52; 53) ";" | ||
41 | WHITESPACE@[53; 54) "\n" | ||
42 | R_CURLY@[54; 55) "}" | ||
43 | WHITESPACE@[55; 56) "\n" | ||
44 | error [38; 38): expected SEMI | ||