about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-16 14:17:10 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-06-23 01:29:29 +0200
commit86250a666ed763b151dc0747331bddae5d4f46c4 (patch)
treeb70c67d9fdd8ccc590f56c8bf3e1e87d9e7b7c85 /src/libsyntax/parse
parent530f954e92d1e6d3813499e7210d416de0b01693 (diff)
downloadrust-86250a666ed763b151dc0747331bddae5d4f46c4.tar.gz
rust-86250a666ed763b151dc0747331bddae5d4f46c4.zip
let_chains: Comment out Let in ident_can_begin_expr.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 98e06ad73c9..eec09c08702 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -134,8 +134,9 @@ 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,
+        // FIXME(53667): Consider whether `Let` can be added here.
+        // kw::Let,
         kw::Loop,
         kw::Match,
         kw::Move,