@@ -51,16 +51,16 @@ unsafe extern "Rust" {
5151///
5252/// Note: while this type is unstable, the functionality it provides can be
5353/// accessed through the [free functions in `alloc`](self#functions).
54- #[ unstable ( feature = "allocator_api" , issue = "32838 " ) ]
54+ #[ stable ( feature = "allocator_api" , since = "CURRENT_RUSTC_VERSION " ) ]
5555#[ derive( Copy , Clone , Default , Debug ) ]
5656// the compiler needs to know when a Box uses the global allocator vs a custom one
5757#[ lang = "global_alloc_ty" ]
5858pub struct Global ;
5959
60- #[ unstable( feature = "allocator_api " , issue = "32838" ) ]
60+ #[ unstable( feature = "allocator_ext " , issue = "32838" , implied_by = "allocator_api ") ]
6161unsafe impl core:: alloc:: AllocatorClone for Global { }
6262
63- #[ unstable( feature = "allocator_api " , issue = "32838" ) ]
63+ #[ unstable( feature = "allocator_ext " , issue = "32838" , implied_by = "allocator_api ") ]
6464unsafe impl core:: alloc:: PinSafeAllocator for Global { }
6565
6666/// Allocates memory with the global allocator.
@@ -446,7 +446,7 @@ impl Global {
446446 }
447447}
448448
449- #[ unstable ( feature = "allocator_api" , issue = "32838 " ) ]
449+ #[ stable ( feature = "allocator_api" , since = "CURRENT_RUSTC_VERSION " ) ]
450450#[ rustc_const_unstable( feature = "const_heap" , issue = "79597" ) ]
451451unsafe impl const Allocator for Global {
452452 #[ inline]
0 commit comments