about summary refs log tree commit diff
path: root/src/libcollections/lib.rs
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/libcollections/lib.rs
parent1805bba399805d8fd8e85e23c31a0580f21533cb (diff)
parent4b8078424ebe6327ed80113063985014470afabb (diff)
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/libcollections/lib.rs')
-rw-r--r--src/libcollections/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs
index 18cfb5b76fe..b39c3cd4485 100644
--- a/src/libcollections/lib.rs
+++ b/src/libcollections/lib.rs
@@ -16,7 +16,7 @@
 // Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
 #![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "collections"]
-#![staged_api]
+#![cfg_attr(stage0, staged_api)]
 #![crate_type = "rlib"]
 #![unstable(feature = "collections",
             reason = "library is unlikely to be stabilized with the current \