From 94e9a073b0edb3633b2adbcfff1dabf2da44334e Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Tue, 20 Oct 2015 11:49:08 +1100 Subject: [PATCH] Point core::ptr::Shared to tracking issue #27730. --- src/libcore/ptr.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 8adbaf56f143c..f3ddb2a9fffe4 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -538,7 +538,7 @@ impl fmt::Pointer for Unique { /// building abstractions like `Rc` or `Arc`, which internally /// use raw pointers to manage the memory that they own. #[unstable(feature = "shared", reason = "needs an RFC to flesh out design", - issue = "0")] + issue = "27730")] pub struct Shared { pointer: NonZero<*const T>, // NOTE: this marker has no consequences for variance, but is necessary @@ -551,15 +551,15 @@ pub struct Shared { /// `Shared` pointers are not `Send` because the data they reference may be aliased. // NB: This impl is unnecessary, but should provide better error messages. -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl !Send for Shared { } /// `Shared` pointers are not `Sync` because the data they reference may be aliased. // NB: This impl is unnecessary, but should provide better error messages. -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl !Sync for Shared { } -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl Shared { /// Creates a new `Shared`. pub unsafe fn new(ptr: *mut T) -> Self { @@ -567,21 +567,21 @@ impl Shared { } } -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl Clone for Shared { fn clone(&self) -> Self { *self } } -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl Copy for Shared { } #[cfg(not(stage0))] // remove cfg after new snapshot -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl CoerceUnsized> for Shared where T: Unsize { } -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl Deref for Shared { type Target = *mut T; @@ -591,7 +591,7 @@ impl Deref for Shared { } } -#[unstable(feature = "shared", issue = "0")] +#[unstable(feature = "shared", issue = "27730")] impl fmt::Pointer for Shared { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Pointer::fmt(&*self.pointer, f)