diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index 496865e303b..63e4af34a57 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -769,7 +769,7 @@ pub fn new_zeroed_in(alloc: A) -> Arc, A> { /// [`upgrade`]: Weak::upgrade #[cfg(not(no_global_oom_handling))] #[inline] - #[stable(feature = "arc_new_cyclic", since = "1.60.0")] + #[unstable(feature = "allocator_api", issue = "32838")] pub fn new_cyclic_in(data_fn: F, alloc: A) -> Arc where F: FnOnce(&Weak) -> T,