about summary refs log tree commit diff
path: root/src/test/run-pass/auto-ref-sliceable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/auto-ref-sliceable.rs')
-rw-r--r--src/test/run-pass/auto-ref-sliceable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/auto-ref-sliceable.rs b/src/test/run-pass/auto-ref-sliceable.rs
index 48d83da74ad..a8e6832d33c 100644
--- a/src/test/run-pass/auto-ref-sliceable.rs
+++ b/src/test/run-pass/auto-ref-sliceable.rs
@@ -4,7 +4,7 @@ trait Pushable<T> {
 
 impl<T> ~[T]: Pushable<T> {
     fn push_val(&mut self, +t: T) {
-        self.push(t);
+        self.push(move t);
     }
 }