Remove NoSend/NoSync

This commit is contained in:
Flavio Percoco 2015-01-11 11:09:31 +01:00
parent 9eec782774
commit 388e30f78e

View File

@ -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