about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorLuqman Aden <laden@mozilla.com>2013-02-15 02:49:32 -0800
committerLuqman Aden <laden@mozilla.com>2013-02-15 02:49:55 -0800
commit3a19eef4966cf9ba7104792ebd70c38015dcecab (patch)
tree9f6ee3c828bcebc2383ee54b620b8019bf389060 /src/libsyntax/parse/parser.rs
parent178882c98feb4d19a88ce950b035bc40ffda2650 (diff)
downloadrust-3a19eef4966cf9ba7104792ebd70c38015dcecab.tar.gz
rust-3a19eef4966cf9ba7104792ebd70c38015dcecab.zip
libsyntax: Remove move as a keyword.
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 f6fd894192e..b4fd7a5d2e8 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -712,7 +712,7 @@ pub impl Parser {
     fn parse_capture_item_or(parse_arg_fn: fn(Parser) -> arg_or_capture_item)
         -> arg_or_capture_item
     {
-        if self.eat_keyword(~"move") || self.eat_keyword(~"copy") {
+        if self.eat_keyword(~"copy") {
             // XXX outdated syntax now that moves-based-on-type has gone in
             self.parse_ident();
             either::Right(())