about summary refs log tree commit diff
path: root/src/test/run-pass/method-recursive-blanket-impl.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-12 10:29:52 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-18 10:25:28 -0500
commit872ce479550a3d805babb0ca409dfc3cf6f52309 (patch)
treea1cf314833d1c99b297d59c30a2f1289f111e57e /src/test/run-pass/method-recursive-blanket-impl.rs
parentef42c2befd9451cd913de60539487a483ae9deac (diff)
downloadrust-872ce479550a3d805babb0ca409dfc3cf6f52309.tar.gz
rust-872ce479550a3d805babb0ca409dfc3cf6f52309.zip
Fallout: tests. As tests frequently elide things, lots of changes
here.  Some of this may have been poorly rebased, though I tried to be
careful and preserve the spirit of the test.
Diffstat (limited to 'src/test/run-pass/method-recursive-blanket-impl.rs')
-rw-r--r--src/test/run-pass/method-recursive-blanket-impl.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/method-recursive-blanket-impl.rs b/src/test/run-pass/method-recursive-blanket-impl.rs
index 338bd89ab5c..15eb2ae2e4b 100644
--- a/src/test/run-pass/method-recursive-blanket-impl.rs
+++ b/src/test/run-pass/method-recursive-blanket-impl.rs
@@ -17,16 +17,16 @@ use std::marker::Sized;
 
 // Note: this must be generic for the problem to show up
 trait Foo<A> {
-    fn foo(&self);
+    fn foo(&self, a: A);
 }
 
 impl Foo<u8> for [u8] {
-    fn foo(&self) {}
+    fn foo(&self, a: u8) {}
 }
 
 impl<'a, A, T> Foo<A> for &'a T where T: Foo<A> {
-    fn foo(&self) {
-        Foo::foo(*self)
+    fn foo(&self, a: A) {
+        Foo::foo(*self, a)
     }
 }