diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
commit | 0194adb651257b69fdf04423b22c69db09fc489c (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt | |
parent | bf3030404ef8a161334326bad706f60ee8838f63 (diff) | |
parent | 459241f272748ff2e57b2c7e84f5a04f78d67edb (diff) |
Merge #1585
1585: move syntax tests to unit tests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt new file mode 100644 index 000000000..f70adc25d --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.txt | |||
@@ -0,0 +1,31 @@ | |||
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@[9; 29) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 11) " " | ||
14 | LET_STMT@[11; 27) | ||
15 | LET_KW@[11; 14) "let" | ||
16 | WHITESPACE@[14; 15) " " | ||
17 | PLACEHOLDER_PAT@[15; 16) | ||
18 | UNDERSCORE@[15; 16) "_" | ||
19 | WHITESPACE@[16; 17) " " | ||
20 | EQ@[17; 18) "=" | ||
21 | WHITESPACE@[18; 19) " " | ||
22 | BLOCK_EXPR@[19; 27) | ||
23 | ASYNC_KW@[19; 24) "async" | ||
24 | WHITESPACE@[24; 25) " " | ||
25 | BLOCK@[25; 27) | ||
26 | L_CURLY@[25; 26) "{" | ||
27 | R_CURLY@[26; 27) "}" | ||
28 | WHITESPACE@[27; 28) " " | ||
29 | R_CURLY@[28; 29) "}" | ||
30 | WHITESPACE@[29; 30) "\n" | ||
31 | error 27: expected SEMI | ||