diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-17 00:45:09 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-23 01:29:29 +0200 |
| commit | 92587e41d9096bc9eb74f40b93422026a8a57d4e (patch) | |
| tree | f0d99f6860ddfe133e77364a1723d97cb3874123 /src/libsyntax/parse | |
| parent | 61fc727fe07abaeee78475202dd575f0fddfc653 (diff) | |
| download | rust-92587e41d9096bc9eb74f40b93422026a8a57d4e.tar.gz rust-92587e41d9096bc9eb74f40b93422026a8a57d4e.zip | |
let_chains: readd kw::let to ident_can_begin_expr.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index eec09c08702..ebd0decacb5 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -135,8 +135,7 @@ pub(crate) fn ident_can_begin_expr(name: ast::Name, span: Span, is_raw: bool) -> kw::False, kw::For, kw::If, - // FIXME(53667): Consider whether `Let` can be added here. - // kw::Let, + kw::Let, kw::Loop, kw::Match, kw::Move, |
