diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-10 17:37:41 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-10 17:37:41 +0000 |
commit | f96df105ea6d27f295cc1c0a6cdb6c50979f67ed (patch) | |
tree | a1bb4699afbd53d1ccbfd3585fa15169f971571c /crates/ra_syntax/tests/data/parser/inline/ok | |
parent | 543f2ec8f63ca39182c2c33cbfd093bc008560e7 (diff) | |
parent | cc9721996c4680e257db76aafea12a9565196d92 (diff) |
Merge #956
956: Add async keyword r=c410-f3r a=c410-f3r
Fixes #954.
Co-authored-by: Caio <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.rs | 1 | ||||
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.txt | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.rs new file mode 100644 index 000000000..f4adcb62b --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.rs | |||
@@ -0,0 +1 @@ | |||
async fn foo() {} | |||
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.txt new file mode 100644 index 000000000..d1a706ecc --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0124_async_fn.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | SOURCE_FILE@[0; 18) | ||
2 | FN_DEF@[0; 17) | ||
3 | ASYNC_KW@[0; 5) | ||
4 | WHITESPACE@[5; 6) | ||
5 | FN_KW@[6; 8) | ||
6 | WHITESPACE@[8; 9) | ||
7 | NAME@[9; 12) | ||
8 | IDENT@[9; 12) "foo" | ||
9 | PARAM_LIST@[12; 14) | ||
10 | L_PAREN@[12; 13) | ||
11 | R_PAREN@[13; 14) | ||
12 | WHITESPACE@[14; 15) | ||
13 | BLOCK@[15; 17) | ||
14 | L_CURLY@[15; 16) | ||
15 | R_CURLY@[16; 17) | ||
16 | WHITESPACE@[17; 18) | ||