about summary refs log tree commit diff
path: root/src/test/compile-fail/no_send-struct.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/no_send-struct.rs
parenta8d478db512803d25785a11c5b21634f8703b17f (diff)
downloadrust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.tar.gz
rust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.zip
Update error messages in compile-fail tests
Diffstat (limited to 'src/test/compile-fail/no_send-struct.rs')
-rw-r--r--src/test/compile-fail/no_send-struct.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/compile-fail/no_send-struct.rs b/src/test/compile-fail/no_send-struct.rs
index 5b083374c51..6e84578e92e 100644
--- a/src/test/compile-fail/no_send-struct.rs
+++ b/src/test/compile-fail/no_send-struct.rs
@@ -20,6 +20,5 @@ fn bar<T: Send>(_: T) {}
 fn main() {
     let x = Foo { a: 5, ns: marker::NoSend };
     bar(x);
-    //~^ ERROR instantiating a type parameter with an incompatible type `Foo`,
-    //         which does not fulfill `Send`
+    //~^ ERROR the trait `core::kinds::Send` is not implemented
 }