diff options
author | Caio <[email protected]> | 2019-03-09 23:40:22 +0000 |
---|---|---|
committer | Caio <[email protected]> | 2019-03-09 23:40:22 +0000 |
commit | ad72699553c39f159f25a6dc7ecd5df953817407 (patch) | |
tree | d0e0d665f23e8b55feb624fac45bc7de644d622c /crates/ra_syntax/tests/data/lexer | |
parent | a9d09b7ec0721e9ad305866a57989d1aa9c67ec1 (diff) |
Add async keyword
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" |