diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast new file mode 100644 index 000000000..a4002a998 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast | |||
@@ -0,0 +1,32 @@ | |||
1 | SOURCE_FILE@[0; 30) | ||
2 | FN_DEF@[0; 29) | ||
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; 29) | ||
12 | BLOCK@[9; 29) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 11) " " | ||
15 | LET_STMT@[11; 27) | ||
16 | LET_KW@[11; 14) "let" | ||
17 | WHITESPACE@[14; 15) " " | ||
18 | PLACEHOLDER_PAT@[15; 16) | ||
19 | UNDERSCORE@[15; 16) "_" | ||
20 | WHITESPACE@[16; 17) " " | ||
21 | EQ@[17; 18) "=" | ||
22 | WHITESPACE@[18; 19) " " | ||
23 | BLOCK_EXPR@[19; 27) | ||
24 | ASYNC_KW@[19; 24) "async" | ||
25 | WHITESPACE@[24; 25) " " | ||
26 | BLOCK@[25; 27) | ||
27 | L_CURLY@[25; 26) "{" | ||
28 | R_CURLY@[26; 27) "}" | ||
29 | WHITESPACE@[27; 28) " " | ||
30 | R_CURLY@[28; 29) "}" | ||
31 | WHITESPACE@[29; 30) "\n" | ||
32 | error [27; 27): expected SEMI | ||