about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-05-12 16:50:57 -0400
committerAlex Crichton <alex@alexcrichton.com>2013-05-14 12:25:19 -0400
commitffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b (patch)
tree8f3f8634548c02309d281d6cdbfd7b34b7ea8c9d /src/libsyntax/parse/parser.rs
parent5614e83e817a1d15286a1d4eeb6b665ddf5fe3cb (diff)
downloadrust-ffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b.tar.gz
rust-ffcc680f9cc26b5b2cb2f453a89dbcf8144f8b9b.zip
Fix test fallout from removing vecs_implicitly_copyable
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
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))