about summary refs log tree commit diff
path: root/src/test/compile-fail/trait-bounds-not-on-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/trait-bounds-not-on-struct.rs')
-rw-r--r--src/test/compile-fail/trait-bounds-not-on-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/trait-bounds-not-on-struct.rs b/src/test/compile-fail/trait-bounds-not-on-struct.rs
index 45bb5e29a88..ebffd0303e0 100644
--- a/src/test/compile-fail/trait-bounds-not-on-struct.rs
+++ b/src/test/compile-fail/trait-bounds-not-on-struct.rs
@@ -10,6 +10,6 @@
 
 struct Foo;
 
-fn foo(_x: ~Foo:Owned) { } //~ ERROR kind bounds can only be used on trait types
+fn foo(_x: ~Foo:Send) { } //~ ERROR kind bounds can only be used on trait types
 
 fn main() { }