Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cfe3de2

Browse files
committedFeb 1, 2025
Fix core AsyncFn stability attribute
1 parent b5a02ff commit cfe3de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎library/core/src/prelude/common.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub use crate::marker::{Copy, Send, Sized, Sync, Unpin};
1212
#[stable(feature = "core_prelude", since = "1.4.0")]
1313
#[doc(no_inline)]
1414
pub use crate::ops::{Drop, Fn, FnMut, FnOnce};
15-
#[stable(feature = "async_closure", since = "1.85.0")]
15+
#[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
16+
#[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
1617
#[doc(no_inline)]
1718
pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce};
1819

0 commit comments

Comments
 (0)
Failed to load comments.