From 6750f042ca571407c8050693412d929ea1097b3f Mon Sep 17 00:00:00 2001 From: matthewpipie Date: Mon, 16 Sep 2024 20:05:15 -0500 Subject: [PATCH] Update library/alloc/src/sync.rs Co-authored-by: David Tolnay --- library/alloc/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,