From f7fb510dfe67f11522a2d214bd14d21f910bfd7b Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 29 Jan 2015 09:08:11 -0800 Subject: [PATCH] Fix for stability changes --- phf/src/lib.rs | 2 +- phf/tests/test.rs | 3 +-- phf_macros/src/lib.rs | 3 +-- phf_shared/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/phf/src/lib.rs b/phf/src/lib.rs index 8bf2a689..86d26da2 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -3,8 +3,8 @@ //! Keys can be string literals, byte string literals, byte literals, char //! literals, or any of the fixed-size isizeegral types. #![doc(html_root_url="https://sfackler.github.io/doc")] +#![feature(core)] #![warn(missing_docs)] -#![allow(unstable)] #![no_std] #[macro_use] diff --git a/phf/tests/test.rs b/phf/tests/test.rs index ed3647e8..35cd893f 100644 --- a/phf/tests/test.rs +++ b/phf/tests/test.rs @@ -1,5 +1,4 @@ -#![allow(unstable)] -#![feature(plugin)] +#![feature(plugin, collections, core)] #[plugin] #[no_link] extern crate phf_macros; diff --git a/phf_macros/src/lib.rs b/phf_macros/src/lib.rs index daea2a1e..3761949b 100644 --- a/phf_macros/src/lib.rs +++ b/phf_macros/src/lib.rs @@ -2,8 +2,7 @@ //! //! See the documentation for the `phf` crate for more details. #![doc(html_root_url="http://sfackler.github.io/doc")] -#![feature(plugin_registrar, quote)] -#![allow(unknown_features, unstable)] +#![feature(plugin_registrar, quote, rustc_private, std_misc, rand, hash, core, os)] extern crate rand; extern crate syntax; diff --git a/phf_shared/src/lib.rs b/phf_shared/src/lib.rs index 1cb67e34..28d43f64 100644 --- a/phf_shared/src/lib.rs +++ b/phf_shared/src/lib.rs @@ -1,4 +1,4 @@ -#![allow(unstable)] +#![feature(core, hash)] #![no_std] extern crate core;