diff --git a/library/core/src/sync/exclusive.rs b/library/core/src/sync/exclusive.rs index 6ada07fd576..a7519ab5ab6 100644 --- a/library/core/src/sync/exclusive.rs +++ b/library/core/src/sync/exclusive.rs @@ -72,7 +72,7 @@ use core::task::{Context, Poll}; /// /// /// [`Sync`]: core::marker::Sync -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] #[doc(alias = "SyncWrapper")] #[doc(alias = "SyncCell")] #[doc(alias = "Unique")] @@ -86,10 +86,10 @@ pub struct Exclusive { } // See `Exclusive`'s docs for justification. -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] unsafe impl Sync for Exclusive {} -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] impl fmt::Debug for Exclusive { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { f.debug_struct("Exclusive").finish_non_exhaustive() @@ -98,14 +98,14 @@ impl fmt::Debug for Exclusive { impl Exclusive { /// Wrap a value in an `Exclusive` - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn new(t: T) -> Self { Self { inner: t } } /// Unwrap the value contained in the `Exclusive` - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn into_inner(self) -> T { self.inner @@ -114,7 +114,7 @@ impl Exclusive { impl Exclusive { /// Get exclusive access to the underlying value. - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn get_mut(&mut self) -> &mut T { &mut self.inner @@ -126,7 +126,7 @@ impl Exclusive { /// value, which means _unpinned_ `Exclusive`s can produce _unpinned_ /// access to the underlying value, but _pinned_ `Exclusive`s only /// produce _pinned_ access to the underlying value. - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> { // SAFETY: `Exclusive` can only produce `&mut T` if itself is unpinned @@ -137,7 +137,7 @@ impl Exclusive { /// Build a _mutable_ references to an `Exclusive` from /// a _mutable_ reference to a `T`. This allows you to skip /// building an `Exclusive` with [`Exclusive::new`]. - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn from_mut(r: &'_ mut T) -> &'_ mut Exclusive { // SAFETY: repr is ≥ C, so refs have the same layout; and `Exclusive` properties are `&mut`-agnostic @@ -147,7 +147,7 @@ impl Exclusive { /// Build a _pinned mutable_ references to an `Exclusive` from /// a _pinned mutable_ reference to a `T`. This allows you to skip /// building an `Exclusive` with [`Exclusive::new`]. - #[unstable(feature = "exclusive_wrapper", issue = "none")] + #[unstable(feature = "exclusive_wrapper", issue = "98407")] #[must_use] pub const fn from_pin_mut(r: Pin<&'_ mut T>) -> Pin<&'_ mut Exclusive> { // SAFETY: `Exclusive` can only produce `&mut T` if itself is unpinned @@ -156,14 +156,14 @@ impl Exclusive { } } -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] impl From for Exclusive { fn from(t: T) -> Self { Self::new(t) } } -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] impl Future for Exclusive { type Output = T::Output; diff --git a/library/core/src/sync/mod.rs b/library/core/src/sync/mod.rs index 88d87e8ac40..4365e4cb250 100644 --- a/library/core/src/sync/mod.rs +++ b/library/core/src/sync/mod.rs @@ -4,5 +4,5 @@ pub mod atomic; mod exclusive; -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] pub use exclusive::Exclusive; diff --git a/library/std/src/sync/mod.rs b/library/std/src/sync/mod.rs index c70dcf7f66c..0c2ac8e10ce 100644 --- a/library/std/src/sync/mod.rs +++ b/library/std/src/sync/mod.rs @@ -155,7 +155,7 @@ pub use alloc_crate::sync::{Arc, Weak}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::sync::atomic; -#[unstable(feature = "exclusive_wrapper", issue = "none")] +#[unstable(feature = "exclusive_wrapper", issue = "98407")] pub use core::sync::Exclusive; #[stable(feature = "rust1", since = "1.0.0")]