diff options
| author | bors <bors@rust-lang.org> | 2015-11-26 10:22:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-26 10:22:37 +0000 |
| commit | 6d88afe4775436d45ec3050ee5c1488e68afe9e2 (patch) | |
| tree | 38da8eb011aa1fa46f4e819512c8809346bfa34f /src/libserialize | |
| parent | 1805bba399805d8fd8e85e23c31a0580f21533cb (diff) | |
| parent | 4b8078424ebe6327ed80113063985014470afabb (diff) | |
| download | rust-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/libserialize')
| -rw-r--r-- | src/libserialize/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index 4a766f14531..c919c335640 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -20,7 +20,7 @@ Core encoding and decoding interfaces. #![unstable(feature = "rustc_private", reason = "deprecated in favor of rustc-serialize on crates.io", issue = "27812")] -#![staged_api] +#![cfg_attr(stage0, staged_api)] #![crate_type = "rlib"] #![crate_type = "dylib"] #