Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the public API of the alloc crate a subset of std #51569

Merged
merged 7 commits into from
Jun 29, 2018
7 changes: 0 additions & 7 deletions src/liballoc/lib.rs
Original file line number Diff line number Diff line change
@@ -141,13 +141,6 @@ extern crate rand;
#[macro_use]
mod macros;

#[rustc_deprecated(since = "1.27.0", reason = "use the heap module in core, alloc, or std instead")]
#[unstable(feature = "allocator_api", issue = "32838")]
/// Use the `alloc` module instead.
pub mod allocator {
pub use alloc::*;
}

// Heaps provided for low-level allocation strategies

pub mod alloc;