about summary refs log tree commit diff
path: root/src/libserialize
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-05-08 14:36:44 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-05-11 16:03:05 -0700
commitab54f4b226639558ff46ea1f3e3f504aacef562d (patch)
tree1f3c2871920222119755d406e0ec9c5b66e46dc5 /src/libserialize
parentaf0e16c852662d23097ce1821ff04c1676aed20f (diff)
downloadrust-ab54f4b226639558ff46ea1f3e3f504aacef562d.tar.gz
rust-ab54f4b226639558ff46ea1f3e3f504aacef562d.zip
rustc: Remove #![unstable] annotation
These are now no longer necessary with `-Z force-unstable-if-unmarked`
Diffstat (limited to 'src/libserialize')
-rw-r--r--src/libserialize/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs
index 2b31e2f4108..4eb2cad5c91 100644
--- a/src/libserialize/lib.rs
+++ b/src/libserialize/lib.rs
@@ -15,9 +15,9 @@ Core encoding and decoding interfaces.
 */
 
 #![crate_name = "serialize"]
-#![unstable(feature = "rustc_private",
+#![cfg_attr(stage0, unstable(feature = "rustc_private",
             reason = "deprecated in favor of rustc-serialize on crates.io",
-            issue = "27812")]
+            issue = "27812"))]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
@@ -32,7 +32,7 @@ Core encoding and decoding interfaces.
 #![feature(core_intrinsics)]
 #![feature(i128_type)]
 #![feature(specialization)]
-#![feature(staged_api)]
+#![cfg_attr(stage0, feature(staged_api))]
 #![cfg_attr(test, feature(test))]
 
 extern crate collections;