diff options
| author | Eric Huss <eric@huss.org> | 2025-02-01 07:42:21 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2025-02-01 07:43:21 -0800 |
| commit | cfe3de22e8ff0d53e312e6df2593513b9103128b (patch) | |
| tree | d1424efe8ea06198201c08539dd3abdeed34f8b9 | |
| parent | b5a02ff689e8ab4220602c898c961e9c19da844a (diff) | |
| download | rust-cfe3de22e8ff0d53e312e6df2593513b9103128b.tar.gz rust-cfe3de22e8ff0d53e312e6df2593513b9103128b.zip | |
Fix core AsyncFn stability attribute
| -rw-r--r-- | library/core/src/prelude/common.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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}; |
