about summary refs log tree commit diff
path: root/src/test/compile-fail/kindck-send-object.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-09-12 10:45:39 -0400
committerNiko Matsakis <niko@alum.mit.edu>2014-09-15 14:58:49 -0400
commitb88f86782ecd9319e0e2c875bbf1efecd66ebf41 (patch)
tree2dab9ba700a8a309e59b2835cabd6a80390618ec /src/test/compile-fail/kindck-send-object.rs
parenta8d478db512803d25785a11c5b21634f8703b17f (diff)
downloadrust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.tar.gz
rust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.zip
Update error messages in compile-fail tests
Diffstat (limited to 'src/test/compile-fail/kindck-send-object.rs')
-rw-r--r--src/test/compile-fail/kindck-send-object.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/test/compile-fail/kindck-send-object.rs b/src/test/compile-fail/kindck-send-object.rs
index 99519263923..9217d05002d 100644
--- a/src/test/compile-fail/kindck-send-object.rs
+++ b/src/test/compile-fail/kindck-send-object.rs
@@ -19,19 +19,20 @@ trait Message : Send { }
 // careful with object types, who knows what they close over...
 
 fn object_ref_with_static_bound_not_ok() {
-    assert_send::<&'static Dummy+'static>(); //~ ERROR does not fulfill
+    assert_send::<&'static Dummy+'static>();
+    //~^ ERROR the trait `core::kinds::Send` is not implemented
 }
 
 fn box_object_with_no_bound_not_ok<'a>() {
-    assert_send::<Box<Dummy>>(); //~ ERROR does not fulfill
+    assert_send::<Box<Dummy>>(); //~ ERROR the trait `core::kinds::Send` is not implemented
 }
 
 fn proc_with_no_bound_not_ok<'a>() {
-    assert_send::<proc()>(); //~ ERROR does not fulfill
+    assert_send::<proc()>(); //~ ERROR the trait `core::kinds::Send` is not implemented
 }
 
 fn closure_with_no_bound_not_ok<'a>() {
-    assert_send::<||:'static>(); //~ ERROR does not fulfill
+    assert_send::<||:'static>(); //~ ERROR the trait `core::kinds::Send` is not implemented
 }
 
 fn object_with_send_bound_ok() {