From ffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 12 May 2013 16:50:57 -0400 Subject: Fix test fallout from removing vecs_implicitly_copyable --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 2a7af36f6f2..e1fe20695c7 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2388,7 +2388,7 @@ pub impl Parser { // preceded by unary-minus) or identifiers. let val = self.parse_literal_maybe_minus(); if self.eat(&token::DOTDOT) { - let end = if is_ident_or_path(&tok) { + let end = if is_ident_or_path(tok) { let path = self.parse_path_with_tps(true); let hi = self.span.hi; self.mk_expr(lo, hi, expr_path(path)) -- cgit 1.4.1-3-g733a5