about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGus Wynn <guswynn@gmail.com>2022-06-23 08:52:13 -0700
committerGus Wynn <guswynn@gmail.com>2022-06-23 08:52:13 -0700
commit029f9aa3bf2aa25a88df76fb34f332981ebfef7d (patch)
treedc37d1705c6be4a21cd308da779374dfffb8dd08
parent63d1c8623000782ebc1bb6ae662a10af9f067cab (diff)
downloadrust-029f9aa3bf2aa25a88df76fb34f332981ebfef7d.tar.gz
rust-029f9aa3bf2aa25a88df76fb34f332981ebfef7d.zip
add tracking issue for exclusive
-rw-r--r--library/core/src/sync/exclusive.rs22
-rw-r--r--library/core/src/sync/mod.rs2
-rw-r--r--library/std/src/sync/mod.rs2
3 files changed, 13 insertions, 13 deletions
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<T: ?Sized> {
 }
 
 // See `Exclusive`'s docs for justification.
-#[unstable(feature = "exclusive_wrapper", issue = "none")]
+#[unstable(feature = "exclusive_wrapper", issue = "98407")]
 unsafe impl<T: ?Sized> Sync for Exclusive<T> {}
 
-#[unstable(feature = "exclusive_wrapper", issue = "none")]
+#[unstable(feature = "exclusive_wrapper", issue = "98407")]
 impl<T: ?Sized> fmt::Debug for Exclusive<T> {
     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
         f.debug_struct("Exclusive").finish_non_exhaustive()
@@ -98,14 +98,14 @@ impl<T: ?Sized> fmt::Debug for Exclusive<T> {
 
 impl<T: Sized> Exclusive<T> {
     /// 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<T: Sized> Exclusive<T> {
 
 impl<T: ?Sized> Exclusive<T> {
     /// 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<T: ?Sized> Exclusive<T> {
     /// 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<T: ?Sized> Exclusive<T> {
     /// Build a _mutable_ references to an `Exclusive<T>` 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<T> {
         // SAFETY: repr is ≥ C, so refs have the same layout; and `Exclusive` properties are `&mut`-agnostic
@@ -147,7 +147,7 @@ impl<T: ?Sized> Exclusive<T> {
     /// Build a _pinned mutable_ references to an `Exclusive<T>` 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<T>> {
         // SAFETY: `Exclusive` can only produce `&mut T` if itself is unpinned
@@ -156,14 +156,14 @@ impl<T: ?Sized> Exclusive<T> {
     }
 }
 
-#[unstable(feature = "exclusive_wrapper", issue = "none")]
+#[unstable(feature = "exclusive_wrapper", issue = "98407")]
 impl<T> From<T> for Exclusive<T> {
     fn from(t: T) -> Self {
         Self::new(t)
     }
 }
 
-#[unstable(feature = "exclusive_wrapper", issue = "none")]
+#[unstable(feature = "exclusive_wrapper", issue = "98407")]
 impl<T: Future + ?Sized> Future for Exclusive<T> {
     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")]