Register new snapshots
Lots of cruft to remove!
This commit is contained in:
parent
e2834a20e7
commit
cd1848a1a6
60 changed files with 45 additions and 841 deletions
|
@ -80,10 +80,8 @@ use core::mem::{align_of_val, size_of_val};
|
|||
use core::intrinsics::abort;
|
||||
use core::mem;
|
||||
use core::ops::Deref;
|
||||
#[cfg(not(stage0))]
|
||||
use core::ops::CoerceUnsized;
|
||||
use core::ptr::{self, Shared};
|
||||
#[cfg(not(stage0))]
|
||||
use core::marker::Unsize;
|
||||
use core::hash::{Hash, Hasher};
|
||||
use core::{usize, isize};
|
||||
|
@ -135,8 +133,6 @@ unsafe impl<T: ?Sized + Sync + Send> Send for Arc<T> {}
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
unsafe impl<T: ?Sized + Sync + Send> Sync for Arc<T> {}
|
||||
|
||||
// remove cfg after new snapshot
|
||||
#[cfg(not(stage0))]
|
||||
#[unstable(feature = "coerce_unsized", issue = "27732")]
|
||||
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Arc<U>> for Arc<T> {}
|
||||
|
||||
|
@ -157,8 +153,6 @@ unsafe impl<T: ?Sized + Sync + Send> Send for Weak<T> {}
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {}
|
||||
|
||||
// remove cfg after new snapshot
|
||||
#[cfg(not(stage0))]
|
||||
#[unstable(feature = "coerce_unsized", issue = "27732")]
|
||||
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue