mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Support loop as argument
This commit is contained in:
parent
07bbe57fef
commit
fef7fcf5a9
3 changed files with 65 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue