diff options
Diffstat (limited to 'src/test/compile-fail/kindck-send-object2.rs')
| -rw-r--r-- | src/test/compile-fail/kindck-send-object2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/kindck-send-object2.rs b/src/test/compile-fail/kindck-send-object2.rs index d3d166e2a69..7bc86df5739 100644 --- a/src/test/compile-fail/kindck-send-object2.rs +++ b/src/test/compile-fail/kindck-send-object2.rs @@ -14,11 +14,11 @@ fn assert_send<T:Send>() { } trait Dummy { } fn test50() { - assert_send::<&'static Dummy>(); //~ ERROR the trait `core::marker::Sync` is not implemented + assert_send::<&'static Dummy>(); //~ ERROR the trait `std::marker::Sync` is not implemented } fn test53() { - assert_send::<Box<Dummy>>(); //~ ERROR the trait `core::marker::Send` is not implemented + assert_send::<Box<Dummy>>(); //~ ERROR the trait `std::marker::Send` is not implemented } // ...unless they are properly bounded |
