about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index e980858c443..0197ee82c77 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -39,7 +39,7 @@ pub unsafe trait Send : MarkerTrait {
     // empty.
 }
 
-impl Send for .. { }
+unsafe impl Send for .. { }
 
 impl<T> !Send for *const T { }
 impl<T> !Send for *mut T { }
@@ -205,7 +205,7 @@ pub unsafe trait Sync : MarkerTrait {
     // Empty
 }
 
-impl Sync for .. { }
+unsafe impl Sync for .. { }
 
 impl<T> !Sync for *const T { }
 impl<T> !Sync for *mut T { }