File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use usize;
19
19
use ptr:: { self , NonNull } ;
20
20
use num:: NonZeroUsize ;
21
21
22
- #[ unstable( feature = "allocator_api " , issue = "32838 " ) ]
22
+ #[ unstable( feature = "alloc_internals " , issue = "0 " ) ]
23
23
#[ cfg( stage0) ]
24
24
pub type Opaque = u8 ;
25
25
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ fn default_oom_hook(layout: Layout) {
64
64
#[ cfg( not( test) ) ]
65
65
#[ doc( hidden) ]
66
66
#[ lang = "oom" ]
67
- #[ unstable( feature = "allocator_api " , issue = "32838 " ) ]
67
+ #[ unstable( feature = "alloc_internals " , issue = "0 " ) ]
68
68
pub extern fn rust_oom ( layout : Layout ) -> ! {
69
69
let hook = HOOK . load ( Ordering :: SeqCst ) ;
70
70
let hook: fn ( Layout ) = if hook. is_null ( ) {
@@ -79,7 +79,7 @@ pub extern fn rust_oom(layout: Layout) -> ! {
79
79
#[ cfg( not( test) ) ]
80
80
#[ doc( hidden) ]
81
81
#[ allow( unused_attributes) ]
82
- #[ unstable( feature = "allocator_api " , issue = "32838 " ) ]
82
+ #[ unstable( feature = "alloc_internals " , issue = "0 " ) ]
83
83
pub mod __default_lib_allocator {
84
84
use super :: { System , Layout , GlobalAlloc } ;
85
85
// for symbol names src/librustc/middle/allocator.rs
You can’t perform that action at this time.
0 commit comments