Skip to content

Commit d5267d5

Browse files
committed
Remove feature(import_shadowing) from all crates.
1 parent 1c2df5c commit d5267d5

File tree

10 files changed

+9
-11
lines changed

10 files changed

+9
-11
lines changed

src/libcollections/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#![allow(unknown_features)]
2525
#![feature(macro_rules, default_type_params, phase, globs)]
26-
#![feature(unsafe_destructor, import_shadowing, slicing_syntax)]
26+
#![feature(unsafe_destructor, slicing_syntax)]
2727
#![feature(unboxed_closures)]
2828
#![no_std]
2929

src/libfmt_macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
html_root_url = "http://doc.rust-lang.org/nightly/",
2424
html_playground_url = "http://play.rust-lang.org/")]
2525

26-
#![feature(macro_rules, globs, import_shadowing)]
26+
#![feature(macro_rules, globs)]
2727
pub use self::Piece::*;
2828
pub use self::Position::*;
2929
pub use self::Alignment::*;

src/libgetopts/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
html_root_url = "http://doc.rust-lang.org/nightly/",
8787
html_playground_url = "http://play.rust-lang.org/")]
8888
#![feature(globs, phase)]
89-
#![feature(import_shadowing)]
9089
#![feature(unboxed_closures)]
9190
#![deny(missing_docs)]
9291

src/librustc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://doc.rust-lang.org/nightly/")]
2424

25-
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
25+
#![feature(default_type_params, globs, macro_rules, phase, quote)]
2626
#![feature(slicing_syntax, unsafe_destructor)]
2727
#![feature(rustc_diagnostic_macros)]
2828
#![feature(unboxed_closures)]

src/librustc_borrowck/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
1717
html_root_url = "http://doc.rust-lang.org/nightly/")]
1818

19-
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
19+
#![feature(default_type_params, globs, macro_rules, phase, quote)]
2020
#![feature(slicing_syntax, unsafe_destructor)]
2121
#![feature(rustc_diagnostic_macros)]
2222
#![feature(unboxed_closures)]

src/librustc_driver/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://doc.rust-lang.org/nightly/")]
2424

25-
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
25+
#![feature(default_type_params, globs, macro_rules, phase, quote)]
2626
#![feature(slicing_syntax, unsafe_destructor)]
2727
#![feature(rustc_diagnostic_macros)]
2828
#![feature(unboxed_closures)]

src/librustc_trans/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://doc.rust-lang.org/nightly/")]
2424

25-
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
25+
#![feature(default_type_params, globs, macro_rules, phase, quote)]
2626
#![feature(slicing_syntax, unsafe_destructor)]
2727
#![feature(rustc_diagnostic_macros)]
2828
#![feature(unboxed_closures)]

src/librustc_typeck/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ This API is completely unstable and subject to change.
7171
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
7272
html_root_url = "http://doc.rust-lang.org/nightly/")]
7373

74-
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
74+
#![feature(default_type_params, globs, macro_rules, phase, quote)]
7575
#![feature(slicing_syntax, unsafe_destructor)]
7676
#![feature(rustc_diagnostic_macros)]
7777
#![feature(unboxed_closures)]

src/libstd/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@
106106
#![allow(unknown_features)]
107107
#![feature(macro_rules, globs, linkage, thread_local, asm)]
108108
#![feature(default_type_params, phase, lang_items, unsafe_destructor)]
109-
#![feature(import_shadowing, slicing_syntax, tuple_indexing)]
110-
#![feature(unboxed_closures)]
109+
#![feature(slicing_syntax, unboxed_closures)]
111110

112111
// Don't link to std. We are std.
113112
#![no_std]

src/libsyntax/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#![allow(unknown_features)]
2626
#![feature(macro_rules, globs, default_type_params, phase, slicing_syntax)]
27-
#![feature(quote, unsafe_destructor, import_shadowing)]
27+
#![feature(quote, unsafe_destructor)]
2828
#![feature(unboxed_closures)]
2929

3030
extern crate arena;

0 commit comments

Comments
 (0)