about summary refs log tree commit diff
path: root/src/test/compile-fail/traits-negative-impls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/traits-negative-impls.rs')
-rw-r--r--src/test/compile-fail/traits-negative-impls.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/compile-fail/traits-negative-impls.rs b/src/test/compile-fail/traits-negative-impls.rs
index c37f45dcf50..0eb4e230e14 100644
--- a/src/test/compile-fail/traits-negative-impls.rs
+++ b/src/test/compile-fail/traits-negative-impls.rs
@@ -31,8 +31,8 @@ fn dummy() {
     impl !Send for TestType {}
 
     Outer(TestType);
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `dummy::TestType`
-    //~| ERROR the trait `core::marker::Send` is not implemented for the type `dummy::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `dummy::TestType`
+    //~| ERROR the trait `std::marker::Send` is not implemented for the type `dummy::TestType`
 }
 
 fn dummy1b() {
@@ -40,7 +40,7 @@ fn dummy1b() {
     impl !Send for TestType {}
 
     is_send(TestType);
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `dummy1b::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `dummy1b::TestType`
 }
 
 fn dummy1c() {
@@ -48,7 +48,7 @@ fn dummy1c() {
     impl !Send for TestType {}
 
     is_send((8, TestType));
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `dummy1c::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `dummy1c::TestType`
 }
 
 fn dummy2() {
@@ -56,7 +56,7 @@ fn dummy2() {
     impl !Send for TestType {}
 
     is_send(Box::new(TestType));
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `dummy2::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `dummy2::TestType`
 }
 
 fn dummy3() {
@@ -64,7 +64,7 @@ fn dummy3() {
     impl !Send for TestType {}
 
     is_send(Box::new(Outer2(TestType)));
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `dummy3::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `dummy3::TestType`
 }
 
 fn main() {
@@ -74,5 +74,5 @@ fn main() {
     // This will complain about a missing Send impl because `Sync` is implement *just*
     // for T that are `Send`. Look at #20366 and #19950
     is_sync(Outer2(TestType));
-    //~^ ERROR the trait `core::marker::Send` is not implemented for the type `main::TestType`
+    //~^ ERROR the trait `std::marker::Send` is not implemented for the type `main::TestType`
 }