diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-05-08 14:36:44 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-05-11 16:03:05 -0700 |
| commit | ab54f4b226639558ff46ea1f3e3f504aacef562d (patch) | |
| tree | 1f3c2871920222119755d406e0ec9c5b66e46dc5 /src/libsyntax | |
| parent | af0e16c852662d23097ce1821ff04c1676aed20f (diff) | |
| download | rust-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/libsyntax')
| -rw-r--r-- | src/libsyntax/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 89c67b88cbd..32dafcdb582 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -15,7 +15,6 @@ //! This API is completely unstable and subject to change. #![crate_name = "syntax"] -#![unstable(feature = "rustc_private", issue = "27812")] #![crate_type = "dylib"] #![crate_type = "rlib"] #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", @@ -24,12 +23,14 @@ test(attr(deny(warnings))))] #![deny(warnings)] -#![feature(rustc_private)] -#![feature(staged_api)] #![feature(unicode)] #![feature(rustc_diagnostic_macros)] #![feature(i128_type)] +#![cfg_attr(stage0, unstable(feature = "rustc_private", issue = "27812"))] +#![cfg_attr(stage0, feature(rustc_private))] +#![cfg_attr(stage0, feature(staged_api))] + extern crate serialize; #[macro_use] extern crate log; #[macro_use] extern crate bitflags; |
