about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-09-10 18:28:00 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-09-10 18:28:47 -0700
commitf8b3eaae820f87a5d51fe382aef5e9f8256beb29 (patch)
treee3a4c5aa467410f26eb249d26aaa8899383d3b3a /src/libsyntax/parse
parent6957af770bb92b71485f852beb9071733e5f178b (diff)
downloadrust-f8b3eaae820f87a5d51fe382aef5e9f8256beb29.tar.gz
rust-f8b3eaae820f87a5d51fe382aef5e9f8256beb29.zip
Make all moves explicit in libsyntax
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 49fa14c5b7d..6cec730d83d 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3578,8 +3578,8 @@ impl parser {
         }
 
         {attrs_remaining: attrs,
-         view_items: vec::from_mut(dvec::unwrap(view_items)),
-         items: vec::from_mut(dvec::unwrap(items))}
+         view_items: vec::from_mut(dvec::unwrap(move view_items)),
+         items: vec::from_mut(dvec::unwrap(move items))}
     }
 
     // Parses a source module as a crate