diff options
author | Lucas Spits <[email protected]> | 2019-03-11 19:41:48 +0000 |
---|---|---|
committer | Lucas Spits <[email protected]> | 2019-03-11 19:41:48 +0000 |
commit | de4ad44282785d0928824eda5f062c2367a870f7 (patch) | |
tree | b89261aa34f9216d61e8f3751a009735ec139323 /crates/ra_syntax/tests/data/parser/inline/ok | |
parent | 7185c594fe1b6c282c432c1fbb57e8e6e23421ed (diff) | |
parent | f96df105ea6d27f295cc1c0a6cdb6c50979f67ed (diff) |
Merge branch 'master' of https://github.com/LDSpits/rust-analyzer into feature/workspace-directory
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) | ||