diff options
| author | panicbit <[email protected]> | 2017-07-10 05:16:35 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-10 05:16:35 +0200 |
| commit | ae25aa58451676a3a918a0dd3a11a002baeae700 (patch) | |
| tree | 96dc47323b4ce6f57c5f7c3add0fd842bee426f9 /ctr-std/src/lib.rs | |
| parent | Add default allocator symbols (diff) | |
| parent | update collections module (diff) | |
| download | ctru-rs-ae25aa58451676a3a918a0dd3a11a002baeae700.tar.xz ctru-rs-ae25aa58451676a3a918a0dd3a11a002baeae700.zip | |
Merge pull request #1 from FenrirWolf/collections-update
Update collections module
Diffstat (limited to 'ctr-std/src/lib.rs')
| -rw-r--r-- | ctr-std/src/lib.rs | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/ctr-std/src/lib.rs b/ctr-std/src/lib.rs index cc4825c..8edf3c7 100644 --- a/ctr-std/src/lib.rs +++ b/ctr-std/src/lib.rs @@ -25,9 +25,11 @@ #![feature(integer_atomics)] #![feature(lang_items)] #![feature(macro_reexport)] +#![feature(needs_drop)] #![feature(oom)] #![feature(on_unimplemented)] #![feature(optin_builtin_traits)] +#![feature(placement_new_protocol)] #![feature(prelude_import)] #![feature(raw)] #![feature(rand)] @@ -54,15 +56,14 @@ #[allow(unused)] use prelude::v1::*; -#[macro_reexport(assert, assert_eq, debug_assert, debug_assert_eq, - unreachable, unimplemented, write, writeln, try)] +#[macro_reexport(assert, assert_eq, assert_ne, debug_assert, debug_assert_eq, + debug_assert_ne, unreachable, unimplemented, write, writeln, try)] extern crate core as __core; +#[allow(deprecated)] extern crate rand as core_rand; + #[macro_use] #[macro_reexport(vec, format)] -extern crate collections as core_collections; - -#[allow(deprecated)] extern crate rand as core_rand; extern crate alloc; extern crate std_unicode; extern crate alloc_system; @@ -139,17 +140,17 @@ pub use alloc::boxed; #[stable(feature = "rust1", since = "1.0.0")] pub use alloc::rc; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::borrow; +pub use alloc::borrow; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::fmt; +pub use alloc::fmt; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::slice; +pub use alloc::slice; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::str; +pub use alloc::str; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::string; +pub use alloc::string; #[stable(feature = "rust1", since = "1.0.0")] -pub use core_collections::vec; +pub use alloc::vec; #[stable(feature = "rust1", since = "1.0.0")] pub use std_unicode::char; |