From cfe3de22e8ff0d53e312e6df2593513b9103128b Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 1 Feb 2025 07:42:21 -0800 Subject: Fix core AsyncFn stability attribute --- library/core/src/prelude/common.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/core/src/prelude/common.rs b/library/core/src/prelude/common.rs index 8b116cecb52..b8640bc3815 100644 --- a/library/core/src/prelude/common.rs +++ b/library/core/src/prelude/common.rs @@ -12,7 +12,8 @@ pub use crate::marker::{Copy, Send, Sized, Sync, Unpin}; #[stable(feature = "core_prelude", since = "1.4.0")] #[doc(no_inline)] pub use crate::ops::{Drop, Fn, FnMut, FnOnce}; -#[stable(feature = "async_closure", since = "1.85.0")] +#[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))] +#[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))] #[doc(no_inline)] pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce}; -- cgit 1.4.1-3-g733a5