From d5267d584563d5ae5e4428bcaa7fa0a04dc4c57a Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Thu, 4 Dec 2014 01:58:26 +0200 Subject: [PATCH] Remove feature(import_shadowing) from all crates. --- src/libcollections/lib.rs | 2 +- src/libfmt_macros/lib.rs | 2 +- src/libgetopts/lib.rs | 1 - src/librustc/lib.rs | 2 +- src/librustc_borrowck/lib.rs | 2 +- src/librustc_driver/lib.rs | 2 +- src/librustc_trans/lib.rs | 2 +- src/librustc_typeck/lib.rs | 2 +- src/libstd/lib.rs | 3 +-- src/libsyntax/lib.rs | 2 +- 10 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index a8eb10e51635..051079a528e5 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -23,7 +23,7 @@ #![allow(unknown_features)] #![feature(macro_rules, default_type_params, phase, globs)] -#![feature(unsafe_destructor, import_shadowing, slicing_syntax)] +#![feature(unsafe_destructor, slicing_syntax)] #![feature(unboxed_closures)] #![no_std] diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index 3099bf559e4b..106e467c1691 100644 --- a/src/libfmt_macros/lib.rs +++ b/src/libfmt_macros/lib.rs @@ -23,7 +23,7 @@ html_root_url = "http://doc.rust-lang.org/nightly/", html_playground_url = "http://play.rust-lang.org/")] -#![feature(macro_rules, globs, import_shadowing)] +#![feature(macro_rules, globs)] pub use self::Piece::*; pub use self::Position::*; pub use self::Alignment::*; diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index b45d0c9b01ec..e362c67cc509 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -86,7 +86,6 @@ html_root_url = "http://doc.rust-lang.org/nightly/", html_playground_url = "http://play.rust-lang.org/")] #![feature(globs, phase)] -#![feature(import_shadowing)] #![feature(unboxed_closures)] #![deny(missing_docs)] diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 90e9973c3f30..1f729d9b7c6f 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -22,7 +22,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(default_type_params, globs, macro_rules, phase, quote)] #![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] diff --git a/src/librustc_borrowck/lib.rs b/src/librustc_borrowck/lib.rs index ffc5a3919b60..e71e9e5dfea1 100644 --- a/src/librustc_borrowck/lib.rs +++ b/src/librustc_borrowck/lib.rs @@ -16,7 +16,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(default_type_params, globs, macro_rules, phase, quote)] #![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 120654678e96..22465e3074c2 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -22,7 +22,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(default_type_params, globs, macro_rules, phase, quote)] #![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] diff --git a/src/librustc_trans/lib.rs b/src/librustc_trans/lib.rs index 05b1a86b72b0..784002287b75 100644 --- a/src/librustc_trans/lib.rs +++ b/src/librustc_trans/lib.rs @@ -22,7 +22,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(default_type_params, globs, macro_rules, phase, quote)] #![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] diff --git a/src/librustc_typeck/lib.rs b/src/librustc_typeck/lib.rs index 5fc2466674eb..e6f643d878db 100644 --- a/src/librustc_typeck/lib.rs +++ b/src/librustc_typeck/lib.rs @@ -71,7 +71,7 @@ This API is completely unstable and subject to change. html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/nightly/")] -#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)] +#![feature(default_type_params, globs, macro_rules, phase, quote)] #![feature(slicing_syntax, unsafe_destructor)] #![feature(rustc_diagnostic_macros)] #![feature(unboxed_closures)] diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 78c194745a88..c46ebae86759 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -106,8 +106,7 @@ #![allow(unknown_features)] #![feature(macro_rules, globs, linkage, thread_local, asm)] #![feature(default_type_params, phase, lang_items, unsafe_destructor)] -#![feature(import_shadowing, slicing_syntax, tuple_indexing)] -#![feature(unboxed_closures)] +#![feature(slicing_syntax, unboxed_closures)] // Don't link to std. We are std. #![no_std] diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 5d5b56d444f8..5f62c74ef074 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -24,7 +24,7 @@ #![allow(unknown_features)] #![feature(macro_rules, globs, default_type_params, phase, slicing_syntax)] -#![feature(quote, unsafe_destructor, import_shadowing)] +#![feature(quote, unsafe_destructor)] #![feature(unboxed_closures)] extern crate arena;