Remove NoSend/NoSync
This commit is contained in:
parent
9eec782774
commit
388e30f78e
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,7 @@ pub struct InvariantLifetime<'a>;
|
||||||
#[unstable = "likely to change with new variance strategy"]
|
#[unstable = "likely to change with new variance strategy"]
|
||||||
#[lang="no_send_bound"]
|
#[lang="no_send_bound"]
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
#[cfg(stage0)] // NOTE remove impl after next snapshot
|
||||||
pub struct NoSend;
|
pub struct NoSend;
|
||||||
|
|
||||||
/// A type which is considered "not POD", meaning that it is not
|
/// 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"]
|
#[unstable = "likely to change with new variance strategy"]
|
||||||
#[lang="no_sync_bound"]
|
#[lang="no_sync_bound"]
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
#[cfg(stage0)] // NOTE remove impl after next snapshot
|
||||||
pub struct NoSync;
|
pub struct NoSync;
|
||||||
|
|
||||||
/// A type which is considered managed by the GC. This is typically
|
/// A type which is considered managed by the GC. This is typically
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue