Add #[legacy_records] crate attribute

In rustc, rustdoc, rusti, syntax, and std.
This commit is contained in:
Tim Chevalier 2013-01-25 22:58:56 -08:00
parent 6cbccc92b7
commit 31d78b2f07
5 changed files with 10 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#[legacy_modes];
#[legacy_exports];
#[legacy_records];
#[allow(non_implicitly_copyable_typarams)];
#[allow(non_camel_case_types)];

View File

@ -21,6 +21,7 @@
#[no_core];
#[legacy_modes];
#[legacy_records];
#[allow(vecs_implicitly_copyable)];
#[allow(non_implicitly_copyable_typarams)];

View File

@ -17,6 +17,7 @@
#[crate_type = "lib"];
#[legacy_records];
#[no_core];
#[allow(vecs_implicitly_copyable,

View File

@ -33,6 +33,10 @@ not required in or otherwise suitable for the core library.
#[allow(deprecated_mode)];
#[forbid(deprecated_pattern)];
// Transitional
#[legacy_records];
#[no_core];
extern mod core(vers = "0.6");

View File

@ -18,6 +18,7 @@
#[legacy_modes];
#[legacy_exports];
#[legacy_records];
#[allow(vecs_implicitly_copyable)];
#[allow(non_camel_case_types)];
@ -40,6 +41,7 @@ pub mod syntax {
mod attr;
#[legacy_exports]
mod diagnostic;
#[legacy_records]
mod codemap;
#[legacy_exports]
mod ast;
@ -107,8 +109,8 @@ mod ext {
#[legacy_exports]
mod source_util;
#[legacy_exports]
#[path = "pipes/mod.rs"]
#[legacy_exports]
mod pipes;
#[legacy_exports]