about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-04-20 17:00:35 -0700
committerBrian Anderson <banderson@mozilla.com>2015-04-20 17:33:31 -0700
commitbb407b1e9db575fc04f59addcb9ba04076d8206b (patch)
tree6e9e86c1c62ce206ddc05b0de2b7eeddb371d240 /src/librustc_data_structures
parentf46c4e158d395cf6e186bf6afdf1705c12071cbe (diff)
downloadrust-bb407b1e9db575fc04f59addcb9ba04076d8206b.tar.gz
rust-bb407b1e9db575fc04f59addcb9ba04076d8206b.zip
Make stability attributes an error. #22830
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs
index dc376deebc1..1f8f7694ff9 100644
--- a/src/librustc_data_structures/lib.rs
+++ b/src/librustc_data_structures/lib.rs
@@ -22,11 +22,12 @@
 #![unstable(feature = "rustc_private")]
 #![crate_type = "dylib"]
 #![crate_type = "rlib"]
+#![staged_api]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
       html_root_url = "http://doc.rust-lang.org/nightly/")]
 
-#![feature(rustc_private)]
+#![feature(rustc_private, staged_api)]
 #![cfg_attr(test, feature(test))]
 
 #[macro_use] extern crate log;