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
This commit is contained in:
Brian Anderson 2015-01-22 18:22:03 -08:00
parent f86bcc1543
commit cd6d9eab5d
148 changed files with 864 additions and 741 deletions

View file

@ -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<T: 'static> Key<T> {
/// 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 {

View file

@ -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")]