about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-26 10:22:37 +0000
committerbors <bors@rust-lang.org>2015-11-26 10:22:37 +0000
commit6d88afe4775436d45ec3050ee5c1488e68afe9e2 (patch)
tree38da8eb011aa1fa46f4e819512c8809346bfa34f /src/libcore
parent1805bba399805d8fd8e85e23c31a0580f21533cb (diff)
parent4b8078424ebe6327ed80113063985014470afabb (diff)
downloadrust-6d88afe4775436d45ec3050ee5c1488e68afe9e2.tar.gz
rust-6d88afe4775436d45ec3050ee5c1488e68afe9e2.zip
Auto merge of #30015 - petrochenkov:staged, r=brson
Closes https://github.com/rust-lang/rust/issues/30008

`#[stable]`, `#[unstable]` and `#[rustc_deprecated]` are now guarded by `#[feature(staged_api)]`

r? @brson
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 3ebf9d6be63..f8bda4b6b2b 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -56,7 +56,7 @@
             reason = "the libcore library has not yet been scrutinized for \
                       stabilization in terms of structure and naming",
             issue = "27701")]
-#![staged_api]
+#![cfg_attr(stage0, staged_api)]
 #![crate_type = "rlib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",