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/lexer | |
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/lexer')
-rw-r--r-- | crates/ra_syntax/tests/data/lexer/0011_keywords.rs | 2 | ||||
-rw-r--r-- | crates/ra_syntax/tests/data/lexer/0011_keywords.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_syntax/tests/data/lexer/0011_keywords.rs b/crates/ra_syntax/tests/data/lexer/0011_keywords.rs index e6bf64d4d..1e91bff4e 100644 --- a/crates/ra_syntax/tests/data/lexer/0011_keywords.rs +++ b/crates/ra_syntax/tests/data/lexer/0011_keywords.rs | |||
@@ -1,3 +1,3 @@ | |||
1 | fn use struct trait enum impl true false as extern crate | 1 | async fn use struct trait enum impl true false as extern crate |
2 | mod pub self super in where for loop while if match const | 2 | mod pub self super in where for loop while if match const |
3 | static mut type ref let else move return | 3 | static mut type ref let else move return |
diff --git a/crates/ra_syntax/tests/data/lexer/0011_keywords.txt b/crates/ra_syntax/tests/data/lexer/0011_keywords.txt index d6a1abe8a..22c00eefb 100644 --- a/crates/ra_syntax/tests/data/lexer/0011_keywords.txt +++ b/crates/ra_syntax/tests/data/lexer/0011_keywords.txt | |||
@@ -1,3 +1,5 @@ | |||
1 | ASYNC_KW 5 "async" | ||
2 | WHITESPACE 1 " " | ||
1 | FN_KW 2 "fn" | 3 | FN_KW 2 "fn" |
2 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
3 | USE_KW 3 "use" | 5 | USE_KW 3 "use" |