about summary refs log tree commit diff
path: root/src/test/compile-fail/unsendable-class.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/unsendable-class.rs')
-rw-r--r--src/test/compile-fail/unsendable-class.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/unsendable-class.rs b/src/test/compile-fail/unsendable-class.rs
index 58de0926f7c..de089dcf914 100644
--- a/src/test/compile-fail/unsendable-class.rs
+++ b/src/test/compile-fail/unsendable-class.rs
@@ -27,6 +27,6 @@ fn foo(i:int, j: @~str) -> foo {
 
 fn main() {
   let cat = ~"kitty";
-    let (_, ch) = comm::stream(); //~ ERROR does not fulfill `Owned`
-  ch.send(foo(42, @(cat))); //~ ERROR does not fulfill `Owned`
+    let (_, ch) = comm::stream(); //~ ERROR does not fulfill `Send`
+  ch.send(foo(42, @(cat))); //~ ERROR does not fulfill `Send`
 }