about summary refs log tree commit diff
path: root/src/liballoc_system
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/liballoc_system
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/liballoc_system')
-rw-r--r--src/liballoc_system/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index 1befbd61d6d..a0c0d7d0e94 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -11,7 +11,7 @@
 #![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "alloc_system"]
 #![crate_type = "rlib"]
-#![staged_api]
+#![cfg_attr(stage0, staged_api)]
 #![no_std]
 #![cfg_attr(not(stage0), allocator)]
 #![cfg_attr(stage0, allow(improper_ctypes))]