]> git.lizzy.rs Git - rust.git/commitdiff
Remove NoSend/NoSync
authorFlavio Percoco <flaper87@gmail.com>
Sun, 11 Jan 2015 10:09:31 +0000 (11:09 +0100)
committerFlavio Percoco <flaper87@gmail.com>
Fri, 16 Jan 2015 07:18:56 +0000 (08:18 +0100)
src/libcore/marker.rs

index d400cb47cbff6d14f5ed4da9d26ff6921e3c4a70..715a79abe854056aeeb8c200d901c6a97761f375 100644 (file)
@@ -286,6 +286,7 @@ fn clone(&self) -> InvariantType<T> { *self }
 #[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 @@ fn clone(&self) -> InvariantType<T> { *self }
 #[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