From a613059e3fcfb751f7664f67a4a6c99faf436483 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Fri, 20 Nov 2015 16:11:20 +0300 Subject: Rename #[deprecated] to #[rustc_deprecated] --- src/libsyntax/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libsyntax/lib.rs') diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 0cd27d1b0cc..59cc380b0ec 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -26,6 +26,8 @@ html_root_url = "https://doc.rust-lang.org/nightly/", test(attr(deny(warnings))))] +#![cfg_attr(stage0, feature(rustc_attrs))] +#![cfg_attr(stage0, allow(unused_attributes))] #![feature(associated_consts)] #![feature(drain)] #![feature(filling_drop)] -- cgit 1.4.1-3-g733a5