diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-15 16:03:22 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-23 01:29:29 +0200 |
| commit | dff1e379fc55429ea9a4794634e02c17cebee603 (patch) | |
| tree | 4ec38d68cd0186eebcfba9d20144d43e742a0a74 /src/libsyntax/parse/token.rs | |
| parent | 3fc964201486f9fdb006bfb7d0caf9b1c3e6cb71 (diff) | |
| download | rust-dff1e379fc55429ea9a4794634e02c17cebee603.tar.gz rust-dff1e379fc55429ea9a4794634e02c17cebee603.zip | |
let_chains: Add support for parsing let expressions.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index cc34883e2e8..98e06ad73c9 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -134,6 +134,7 @@ pub(crate) fn ident_can_begin_expr(name: ast::Name, span: Span, is_raw: bool) -> kw::Continue, kw::False, kw::For, + kw::Let, kw::If, kw::Loop, kw::Match, |
