Skip to content

Commit 388e30f

Browse files
committed
Remove NoSend/NoSync
1 parent 9eec782 commit 388e30f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/marker.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ pub struct InvariantLifetime<'a>;
286286
#[unstable = "likely to change with new variance strategy"]
287287
#[lang="no_send_bound"]
288288
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
289+
#[cfg(stage0)] // NOTE remove impl after next snapshot
289290
pub struct NoSend;
290291

291292
/// A type which is considered "not POD", meaning that it is not
@@ -303,6 +304,7 @@ pub struct NoCopy;
303304
#[unstable = "likely to change with new variance strategy"]
304305
#[lang="no_sync_bound"]
305306
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
307+
#[cfg(stage0)] // NOTE remove impl after next snapshot
306308
pub struct NoSync;
307309

308310
/// A type which is considered managed by the GC. This is typically

0 commit comments

Comments
 (0)