diff options
author | kjeremy <[email protected]> | 2019-09-20 21:35:29 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-09-20 21:35:29 +0100 |
commit | fef7fcf5a95326fe7bcb0bb5e8a0c0e02f8421a9 (patch) | |
tree | 587046af983f7425729dc9c923635bcbdb74b14d /crates/ra_parser | |
parent | 07bbe57fefdf8d7041c8bdeb0f3feb7ca567c43b (diff) |
Support loop as argument
Diffstat (limited to 'crates/ra_parser')
-rw-r--r-- | crates/ra_parser/src/grammar/expressions/atom.rs | 1 |
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 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 = | |||
54 | LIFETIME, | 54 | LIFETIME, |
55 | ASYNC_KW, | 55 | ASYNC_KW, |
56 | TRY_KW, | 56 | TRY_KW, |
57 | LOOP_KW | ||
57 | ]); | 58 | ]); |
58 | 59 | ||
59 | const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW]; | 60 | const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW]; |