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/driver/driver.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/driver') diff --git a/src/driver/driver.rs b/src/driver/driver.rs index 6e436ec41d5..601f130341b 100644 --- a/src/driver/driver.rs +++ b/src/driver/driver.rs @@ -9,7 +9,8 @@ // except according to those terms. #![allow(unknown_features)] -#![feature(unnamed_feature)] +#![cfg_attr(rustc, feature(rustc_private))] +#![cfg_attr(rustdoc, feature(rustdoc))] #[cfg(rustdoc)] extern crate "rustdoc" as this; -- cgit 1.4.1-3-g733a5