From 86250a666ed763b151dc0747331bddae5d4f46c4 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Thu, 16 May 2019 14:17:10 +0200 Subject: let_chains: Comment out Let in ident_can_begin_expr. --- src/libsyntax/parse/token.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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, -- cgit 1.4.1-3-g733a5