about summary refs log tree commit diff
path: root/src/test/run-pass/auto-ref-sliceable.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-08 17:09:37 -0700
committerbors <bors@rust-lang.org>2013-05-08 17:09:37 -0700
commitd82d9874a6f88e0afa021796e9efaba5b3670c31 (patch)
tree4270207820c8eca6e33cf2bbf9f1bbcafe9d74a9 /src/test/run-pass/auto-ref-sliceable.rs
parent5a65f51d666855d7685850808cc06e49c3d21c72 (diff)
parentd20e63ab65f7ba28db36ae43379706ca9dba1ca5 (diff)
downloadrust-d82d9874a6f88e0afa021796e9efaba5b3670c31.tar.gz
rust-d82d9874a6f88e0afa021796e9efaba5b3670c31.zip
auto merge of #6232 : pcwalton/rust/demuting, r=pcwalton
They're still parsed for bootstrapping purposes, but the qualifier is immediately dropped on the floor.

r? @nikomatsakis 
Diffstat (limited to 'src/test/run-pass/auto-ref-sliceable.rs')
-rw-r--r--src/test/run-pass/auto-ref-sliceable.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/auto-ref-sliceable.rs b/src/test/run-pass/auto-ref-sliceable.rs
index 03e847e237d..f74d78f99d0 100644
--- a/src/test/run-pass/auto-ref-sliceable.rs
+++ b/src/test/run-pass/auto-ref-sliceable.rs
@@ -9,11 +9,11 @@
 // except according to those terms.
 
 trait Pushable<T> {
-    fn push_val(&mut self, +t: T);
+    fn push_val(&mut self, t: T);
 }
 
 impl<T> Pushable<T> for ~[T] {
-    fn push_val(&mut self, +t: T) {
+    fn push_val(&mut self, t: T) {
         self.push(t);
     }
 }