about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/kinds.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcore/kinds.rs b/src/libcore/kinds.rs
index c0673c46142..69f65e23389 100644
--- a/src/libcore/kinds.rs
+++ b/src/libcore/kinds.rs
@@ -266,8 +266,7 @@ pub mod marker {
     /// typically embedded in other types, such as `Gc`, to ensure that
     /// their instances remain thread-local.
     #[lang="no_send_bound"]
-    #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord)]
-    #[allow(missing_copy_implementations)]
+    #[deriving(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
     pub struct NoSend;
 
     /// A type which is considered "not POD", meaning that it is not
@@ -282,8 +281,7 @@ pub mod marker {
     /// its contents are not threadsafe, hence they cannot be
     /// shared between tasks.
     #[lang="no_sync_bound"]
-    #[deriving(Clone, PartialEq, Eq, PartialOrd, Ord)]
-    #[allow(missing_copy_implementations)]
+    #[deriving(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
     pub struct NoSync;
 
     /// A type which is considered managed by the GC. This is typically