about summary refs log tree commit diff
path: root/src/test/compile-fail/kindck-send-object.rs
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-01-03 10:45:00 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-01-05 17:22:17 -0500
commit7d5b0454e9ee5ea9b99c6315174b498df60a7bb5 (patch)
tree9aa05a1e5d2af03d15544760c7bd9f043fc2e560 /src/test/compile-fail/kindck-send-object.rs
parentca17d0812686012307e364a4dce7b84af6886f91 (diff)
downloadrust-7d5b0454e9ee5ea9b99c6315174b498df60a7bb5.tar.gz
rust-7d5b0454e9ee5ea9b99c6315174b498df60a7bb5.zip
fix cfail tests
Diffstat (limited to 'src/test/compile-fail/kindck-send-object.rs')
-rw-r--r--src/test/compile-fail/kindck-send-object.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/compile-fail/kindck-send-object.rs b/src/test/compile-fail/kindck-send-object.rs
index 3b67e98f42c..c300096caf1 100644
--- a/src/test/compile-fail/kindck-send-object.rs
+++ b/src/test/compile-fail/kindck-send-object.rs
@@ -27,14 +27,9 @@ fn box_object_with_no_bound_not_ok<'a>() {
     assert_send::<Box<Dummy>>(); //~ ERROR the trait `core::kinds::Send` is not implemented
 }
 
-fn closure_with_no_bound_not_ok<'a>() {
-    assert_send::<||:'static>(); //~ ERROR the trait `core::kinds::Send` is not implemented
-}
-
 fn object_with_send_bound_ok() {
     assert_send::<&'static (Dummy+Send)>();
     assert_send::<Box<Dummy+Send>>();
-    assert_send::<||:Send>;
 }
 
 fn main() { }