From fef7fcf5a95326fe7bcb0bb5e8a0c0e02f8421a9 Mon Sep 17 00:00:00 2001 From: kjeremy Date: Fri, 20 Sep 2019 16:35:29 -0400 Subject: Support loop as argument --- crates/ra_parser/src/grammar/expressions/atom.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_parser/src/grammar') diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs index 6c7fdc2cd..457f42a26 100644 --- a/crates/ra_parser/src/grammar/expressions/atom.rs +++ b/crates/ra_parser/src/grammar/expressions/atom.rs @@ -54,6 +54,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet = LIFETIME, ASYNC_KW, TRY_KW, + LOOP_KW ]); const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW]; -- cgit v1.2.3