From 388e30f78e545deb798f8cd6192cf939e5d8342a Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Sun, 11 Jan 2015 11:09:31 +0100 Subject: [PATCH] Remove NoSend/NoSync --- src/libcore/marker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index d400cb47cbff6..715a79abe8540 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -286,6 +286,7 @@ pub struct InvariantLifetime<'a>; #[unstable = "likely to change with new variance strategy"] #[lang="no_send_bound"] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] +#[cfg(stage0)] // NOTE remove impl after next snapshot pub struct NoSend; /// A type which is considered "not POD", meaning that it is not @@ -303,6 +304,7 @@ pub struct NoCopy; #[unstable = "likely to change with new variance strategy"] #[lang="no_sync_bound"] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] +#[cfg(stage0)] // NOTE remove impl after next snapshot pub struct NoSync; /// A type which is considered managed by the GC. This is typically