From cd8a7af7d0ea9e8d86538df87fc050f86e3f0d77 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 --- alloc/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alloc/src/sync.rs b/alloc/src/sync.rs index 496865e303b40..63e4af34a578c 100644 --- a/alloc/src/sync.rs +++ b/alloc/src/sync.rs @@ -769,7 +769,7 @@ impl Arc { /// [`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,