about summary refs log tree commit diff
path: root/src/libterm
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/libterm
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/libterm')
-rw-r--r--src/libterm/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index 370757c0609..eb0ee6ba154 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -41,9 +41,6 @@
 //! [ti]: https://en.wikipedia.org/wiki/Terminfo
 
 #![crate_name = "term"]
-#![unstable(feature = "rustc_private",
-            reason = "use the crates.io `term` library instead",
-            issue = "27812")]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
@@ -54,13 +51,15 @@
 #![deny(missing_docs)]
 #![deny(warnings)]
 
-#![feature(box_syntax)]
 #![feature(staged_api)]
 #![cfg_attr(windows, feature(libc))]
 // Handle rustfmt skips
 #![feature(custom_attribute)]
 #![allow(unused_attributes)]
 
+#![cfg_attr(stage0, unstable(feature = "rustc_private", issue = "27812"))]
+#![cfg_attr(stage0, feature(staged_api))]
+
 use std::io::prelude::*;
 
 pub use terminfo::TerminfoTerminal;