From 7b73ec469878e428c789b77320b3f8dc8d974d22 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 14 Jan 2015 15:20:14 -0800 Subject: Tie stability attributes to feature gates --- src/liballoc/arc.rs | 1 - src/liballoc/lib.rs | 2 +- src/liballoc/rc.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 34322f7950c..9245d33047c 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -608,7 +608,6 @@ impl> Hash for Arc { } #[cfg(test)] -#[allow(unstable)] mod tests { use std::clone::Clone; use std::sync::mpsc::channel; diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 84527893374..b8c9c8403c3 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -66,10 +66,10 @@ #![no_std] #![allow(unknown_features)] -#![allow(unstable)] #![feature(lang_items, unsafe_destructor)] #![feature(box_syntax)] #![feature(optin_builtin_traits)] +#![feature(unnamed_feature)] #![allow(unknown_features)] #![feature(int_uint)] #[macro_use] diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 0b8c518a3a5..5e828106739 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -937,7 +937,6 @@ impl RcBoxPtr for Weak { } #[cfg(test)] -#[allow(unstable)] mod tests { use super::{Rc, Weak, weak_count, strong_count}; use std::cell::RefCell; -- cgit 1.4.1-3-g733a5