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/liblog/lib.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/liblog') diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 217eb8d0d3e..6fe789f3e31 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -156,7 +156,7 @@ //! if logging is disabled, none of the components of the log will be executed. #![crate_name = "log"] -#![unstable(feature = "unnamed_feature", +#![unstable(feature = "rustc_private", reason = "use the crates.io `log` library instead")] #![feature(staged_api)] #![staged_api] @@ -170,9 +170,14 @@ #![allow(unknown_features)] #![feature(slicing_syntax)] #![feature(box_syntax)] -#![feature(unnamed_feature)] #![allow(unknown_features)] #![feature(int_uint)] #![deny(missing_docs)] +#![feature(collections)] +#![feature(core)] +#![feature(io)] +#![feature(os)] +#![feature(rustc_private)] +#![feature(std_misc)] extern crate regex; -- cgit 1.4.1-3-g733a5