From cd6d9eab5d75584edfcae4ffdef8b0836db80c1e Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 22 Jan 2015 18:22:03 -0800 Subject: Set unstable feature names appropriately * `core` - for the core crate * `hash` - hashing * `io` - io * `path` - path * `alloc` - alloc crate * `rand` - rand crate * `collections` - collections crate * `std_misc` - other parts of std * `test` - test crate * `rustc_private` - everything else --- src/libstd/thread_local/mod.rs | 4 ++-- src/libstd/thread_local/scoped.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/thread_local') diff --git a/src/libstd/thread_local/mod.rs b/src/libstd/thread_local/mod.rs index 6fc5347b71e..94e5d19d61b 100644 --- a/src/libstd/thread_local/mod.rs +++ b/src/libstd/thread_local/mod.rs @@ -218,7 +218,7 @@ macro_rules! __thread_local_inner { } /// Indicator of the state of a thread local storage key. -#[unstable(feature = "unnamed_feature", +#[unstable(feature = "std_misc", reason = "state querying was recently added")] #[derive(Eq, PartialEq, Copy)] pub enum State { @@ -302,7 +302,7 @@ impl Key { /// initialization does not panic. Keys in the `Valid` state are guaranteed /// to be able to be accessed. Keys in the `Destroyed` state will panic on /// any call to `with`. - #[unstable(feature = "unnamed_feature", + #[unstable(feature = "std_misc", reason = "state querying was recently added")] pub fn state(&'static self) -> State { unsafe { diff --git a/src/libstd/thread_local/scoped.rs b/src/libstd/thread_local/scoped.rs index 415219aaa83..1a20612d60a 100644 --- a/src/libstd/thread_local/scoped.rs +++ b/src/libstd/thread_local/scoped.rs @@ -38,7 +38,7 @@ //! }); //! ``` -#![unstable(feature = "unnamed_feature", +#![unstable(feature = "std_misc", reason = "scoped TLS has yet to have wide enough use to fully consider \ stabilizing its interface")] -- cgit 1.4.1-3-g733a5