diff options
Diffstat (limited to 'src/libstd/thread/local.rs')
| -rw-r--r-- | src/libstd/thread/local.rs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index a228cbfd85b..c204f79614a 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -10,7 +10,7 @@ //! Thread local storage -#![unstable(feature = "thread_local_internals")] +#![unstable(feature = "thread_local_internals", issue = "0")] use cell::UnsafeCell; @@ -137,7 +137,8 @@ macro_rules! thread_local { #[doc(hidden)] #[unstable(feature = "thread_local_internals", - reason = "should not be necessary")] + reason = "should not be necessary", + issue = "0")] #[macro_export] #[allow_internal_unstable] macro_rules! __thread_local_inner { @@ -153,7 +154,8 @@ macro_rules! __thread_local_inner { /// Indicator of the state of a thread local storage key. #[unstable(feature = "thread_local_state", - reason = "state querying was recently added")] + reason = "state querying was recently added", + issue = "27716")] #[derive(Eq, PartialEq, Copy, Clone)] pub enum LocalKeyState { /// All keys are in this state whenever a thread starts. Keys will @@ -185,7 +187,8 @@ pub enum LocalKeyState { impl<T: 'static> LocalKey<T> { #[doc(hidden)] #[unstable(feature = "thread_local_internals", - reason = "recently added to create a key")] + reason = "recently added to create a key", + issue = "0")] pub const fn new(inner: fn() -> &'static __KeyInner<T>, init: fn() -> T) -> LocalKey<T> { LocalKey { @@ -248,7 +251,8 @@ impl<T: 'static> LocalKey<T> { /// to be able to be accessed. Keys in the `Destroyed` state will panic on /// any call to `with`. #[unstable(feature = "thread_local_state", - reason = "state querying was recently added")] + reason = "state querying was recently added", + issue = "27716")] pub fn state(&'static self) -> LocalKeyState { unsafe { match (self.inner)().get() { |
