diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-10-02 13:20:45 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-10-02 13:20:45 +0300 |
| commit | 393f80e03657f7b66cdc0ffe7008c9deef4f63ec (patch) | |
| tree | d62786ff6bb834de32b50cc68c439178c6a2dfb8 | |
| parent | 12103b16de2012988cc4ebcb025f7149a7ee6336 (diff) | |
| download | rust-393f80e03657f7b66cdc0ffe7008c9deef4f63ec.tar.gz rust-393f80e03657f7b66cdc0ffe7008c9deef4f63ec.zip | |
minor
| -rw-r--r-- | crates/parser/src/grammar/expressions/atom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar/expressions/atom.rs b/crates/parser/src/grammar/expressions/atom.rs index bb70c0d9322..bfa02aa2220 100644 --- a/crates/parser/src/grammar/expressions/atom.rs +++ b/crates/parser/src/grammar/expressions/atom.rs @@ -59,7 +59,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet = LIFETIME_IDENT, ])); -const EXPR_RECOVERY_SET: TokenSet = TokenSet::new(&[LET_KW, R_DOLLAR]); +const EXPR_RECOVERY_SET: TokenSet = TokenSet::new(&[T![let], R_DOLLAR]); pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMarker, BlockLike)> { if let Some(m) = literal(p) { |
