Skip to content

Commit a704ca8

Browse files
committed
---
yaml --- r: 181592 b: refs/heads/snap-stage3 c: 35ca50b h: refs/heads/master v: v3
1 parent 6967ff9 commit a704ca8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 6c065fc8cb036785f61ff03e05c1563cbb2dd081
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d7b5bc3c2f673ac3edd818cb7bd42555c2cbc2a2
4+
refs/heads/snap-stage3: 35ca50bd5676db31a8074a216d1aadad7d434de8
55
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libcore/marker.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,3 +434,11 @@ pub struct NoCopy;
434434
#[lang="managed_bound"]
435435
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
436436
pub struct Managed;
437+
438+
#[cfg(not(stage0))] // SNAP ac134f7 remove this attribute after the next snapshot
439+
mod impls {
440+
use super::{Send, Sync, Sized};
441+
442+
unsafe impl<'a, T: Sync + ?Sized> Send for &'a T {}
443+
unsafe impl<'a, T: Send + ?Sized> Send for &'a mut T {}
444+
}

0 commit comments

Comments
 (0)