about summary refs log tree commit diff
path: root/src/test/compile-fail/no_send-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/no_send-struct.rs')
-rw-r--r--src/test/compile-fail/no_send-struct.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/compile-fail/no_send-struct.rs b/src/test/compile-fail/no_send-struct.rs
index 7e2f7c55bd2..c2d6f04c7d4 100644
--- a/src/test/compile-fail/no_send-struct.rs
+++ b/src/test/compile-fail/no_send-struct.rs
@@ -8,17 +8,17 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::markers;
+use std::marker;
 
 struct Foo {
     a: int,
-    ns: markers::NoSend
+    ns: marker::NoSend
 }
 
 fn bar<T: Send>(_: T) {}
 
 fn main() {
-    let x = Foo { a: 5, ns: markers::NoSend };
+    let x = Foo { a: 5, ns: marker::NoSend };
     bar(x);
-    //~^ ERROR the trait `core::markers::Send` is not implemented
+    //~^ ERROR the trait `core::marker::Send` is not implemented
 }