diff options
| author | bors <bors@rust-lang.org> | 2016-08-25 20:45:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-25 20:45:32 -0700 |
| commit | eaf71f8d1034f16140791f566cab3f3c9a0bf96a (patch) | |
| tree | d7bdca8083a5457af6f42e4e93693fcd272c0ac8 /src/libstd/lib.rs | |
| parent | e07dd59eaeb7be95afd2fb3dc131108ae750c91c (diff) | |
| parent | a9a2979dbaddc540673cf66da52e8eb45e66b055 (diff) | |
| download | rust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.tar.gz rust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.zip | |
Auto merge of #35906 - jseyfried:local_prelude, r=eddyb
Use `#[prelude_import]` in `libcore` and `libstd` r? @eddyb
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 2b15f3dd945..44d1fbfdb70 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -252,6 +252,7 @@ #![feature(optin_builtin_traits)] #![feature(panic_unwind)] #![feature(placement_in_syntax)] +#![feature(prelude_import)] #![feature(question_mark)] #![feature(rand)] #![feature(raw)] @@ -292,6 +293,10 @@ #![allow(unused_features)] // std may use features in a platform-specific way #![cfg_attr(not(stage0), deny(warnings))] +#[prelude_import] +#[allow(unused)] +use prelude::v1::*; + #[cfg(test)] extern crate test; // We want to reexport a few macros from core but libcore has already been |
