From 75e17da87358751becc950b9319f5d4aa82744ce Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 31 May 2018 18:38:39 +0200 Subject: Mark as permanently-unstable some implementation details --- src/libstd/alloc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs index 1a4869f87c9..55325006e74 100644 --- a/src/libstd/alloc.rs +++ b/src/libstd/alloc.rs @@ -64,7 +64,7 @@ fn default_oom_hook(layout: Layout) { #[cfg(not(test))] #[doc(hidden)] #[lang = "oom"] -#[unstable(feature = "allocator_api", issue = "32838")] +#[unstable(feature = "alloc_internals", issue = "0")] pub extern fn rust_oom(layout: Layout) -> ! { let hook = HOOK.load(Ordering::SeqCst); let hook: fn(Layout) = if hook.is_null() { @@ -79,7 +79,7 @@ pub extern fn rust_oom(layout: Layout) -> ! { #[cfg(not(test))] #[doc(hidden)] #[allow(unused_attributes)] -#[unstable(feature = "allocator_api", issue = "32838")] +#[unstable(feature = "alloc_internals", issue = "0")] pub mod __default_lib_allocator { use super::{System, Layout, GlobalAlloc}; // for symbol names src/librustc/middle/allocator.rs -- cgit 1.4.1-3-g733a5