about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Steffahn <fdsteffahn@gmail.com>2025-02-08 02:45:29 +0100
committerJosh Stone <jistone@redhat.com>2025-02-13 08:52:40 -0800
commite3bcb727fb16b69245d1773c3bd2af7a19aa187b (patch)
treee6259d7bb08b41aed56fc969b1928d1ce5ee0310
parentf5be3c8636c157eff55084986e9dec3106891267 (diff)
downloadrust-e3bcb727fb16b69245d1773c3bd2af7a19aa187b.tar.gz
rust-e3bcb727fb16b69245d1773c3bd2af7a19aa187b.zip
Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
(cherry picked from commit 71553822402dca6635ecd5ae8418bbafc3740cf4)
-rw-r--r--library/core/src/ops/async_function.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/ops/async_function.rs b/library/core/src/ops/async_function.rs
index 2ee243ea85e..a5812a76217 100644
--- a/library/core/src/ops/async_function.rs
+++ b/library/core/src/ops/async_function.rs
@@ -7,7 +7,6 @@ use crate::marker::Tuple;
 #[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
 #[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
 #[rustc_paren_sugar]
-#[fundamental]
 #[must_use = "async closures are lazy and do nothing unless called"]
 #[lang = "async_fn"]
 pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {
@@ -22,7 +21,6 @@ pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {
 #[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
 #[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
 #[rustc_paren_sugar]
-#[fundamental]
 #[must_use = "async closures are lazy and do nothing unless called"]
 #[lang = "async_fn_mut"]
 pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {
@@ -44,7 +42,6 @@ pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {
 #[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
 #[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
 #[rustc_paren_sugar]
-#[fundamental]
 #[must_use = "async closures are lazy and do nothing unless called"]
 #[lang = "async_fn_once"]
 pub trait AsyncFnOnce<Args: Tuple> {