aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
diff options
context:
space:
mode:
authorAndrey Tkachenko <[email protected]>2019-04-01 11:58:36 +0100
committerAndrey Tkachenko <[email protected]>2019-04-01 12:15:41 +0100
commite89b97524a3940d7e19649ca76874aebd1d09e29 (patch)
tree701c4dca45c71effd143580b0d22f7a967b1aaf9 /crates/ra_parser
parent42a883f06c28ddeab22e5703a578f19110dde7f3 (diff)
Async block in argument position
Diffstat (limited to 'crates/ra_parser')
-rw-r--r--crates/ra_parser/src/grammar/expressions/atom.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs
index 8653d4055..b82fa17cb 100644
--- a/crates/ra_parser/src/grammar/expressions/atom.rs
+++ b/crates/ra_parser/src/grammar/expressions/atom.rs
@@ -51,6 +51,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet =
51 BREAK_KW, 51 BREAK_KW,
52 CONTINUE_KW, 52 CONTINUE_KW,
53 LIFETIME, 53 LIFETIME,
54 ASYNC_KW,
54 ]); 55 ]);
55 56
56const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW]; 57const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW];