From 21dc41649bc48cea25dd498c3e11d6f9c50f0aee Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 27 Apr 2012 15:16:53 -0700 Subject: [PATCH] parser: Remove a restricted keyword check I can't find a way to trigger this error --- src/librustsyntax/parse/parser.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustsyntax/parse/parser.rs b/src/librustsyntax/parse/parser.rs index 7e9a3860454..6b7cd4ecc1e 100644 --- a/src/librustsyntax/parse/parser.rs +++ b/src/librustsyntax/parse/parser.rs @@ -821,7 +821,6 @@ fn parse_bottom_expr(p: parser) -> pexpr { } else if p.token == token::MOD_SEP || is_ident(p.token) && !is_keyword(p, "true") && !is_keyword(p, "false") { - check_restricted_keywords(p); let pth = parse_path_with_tps(p, true); hi = pth.span.hi; ex = ast::expr_path(pth);