libsyntax: Remove move as a keyword.
This commit is contained in:
parent
178882c98f
commit
3a19eef496
@ -712,7 +712,7 @@ fn is_named_argument() -> bool {
|
||||
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(())
|
||||
|
@ -493,7 +493,7 @@ pub fn strict_keyword_table() -> HashMap<~str, ()> {
|
||||
~"false", ~"fn", ~"for",
|
||||
~"if", ~"impl",
|
||||
~"let", ~"log", ~"loop",
|
||||
~"match", ~"mod", ~"move", ~"mut",
|
||||
~"match", ~"mod", ~"mut",
|
||||
~"once",
|
||||
~"priv", ~"pub", ~"pure",
|
||||
~"ref", ~"return",
|
||||
|
Loading…
Reference in New Issue
Block a user