]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/parameterized-trait-with-bounds.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / parameterized-trait-with-bounds.rs
index 339c9e3c490c7ab008b931ee75ec15456889befe..840e58848a742f59b31af183bcb70508365a05de 100644 (file)
@@ -19,7 +19,7 @@ mod foo {
     pub trait D<'a, T> {}
 }
 
-fn foo1<T>(_: &A<T> + Send) {}
+fn foo1<T>(_: &(A<T> + Send)) {}
 fn foo2<T>(_: Box<A<T> + Send + Sync>) {}
 fn foo3<T>(_: Box<B<int, uint> + 'static>) {}
 fn foo4<'a, T>(_: Box<C<'a, T> + 'static + Send>) {}