From e89b97524a3940d7e19649ca76874aebd1d09e29 Mon Sep 17 00:00:00 2001 From: Andrey Tkachenko Date: Mon, 1 Apr 2019 14:58:36 +0400 Subject: Async block in argument position --- crates/ra_parser/src/grammar/expressions/atom.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_parser/src/grammar/expressions') 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 = BREAK_KW, CONTINUE_KW, LIFETIME, + ASYNC_KW, ]); const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW]; -- cgit v1.2.3