Skip to content

Commit e3bcb72

Browse files
steffahncuviper
authored andcommitted
Make AsyncFnOnce, AsyncFnMut, AsyncFn non-#[fundamental]
(cherry picked from commit 7155382)
1 parent f5be3c8 commit e3bcb72

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/core/src/ops/async_function.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use crate::marker::Tuple;
77
#[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
88
#[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
99
#[rustc_paren_sugar]
10-
#[fundamental]
1110
#[must_use = "async closures are lazy and do nothing unless called"]
1211
#[lang = "async_fn"]
1312
pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {
@@ -22,7 +21,6 @@ pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {
2221
#[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
2322
#[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
2423
#[rustc_paren_sugar]
25-
#[fundamental]
2624
#[must_use = "async closures are lazy and do nothing unless called"]
2725
#[lang = "async_fn_mut"]
2826
pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {
@@ -44,7 +42,6 @@ pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {
4442
#[cfg_attr(bootstrap, unstable(feature = "async_closure", issue = "62290"))]
4543
#[cfg_attr(not(bootstrap), stable(feature = "async_closure", since = "1.85.0"))]
4644
#[rustc_paren_sugar]
47-
#[fundamental]
4845
#[must_use = "async closures are lazy and do nothing unless called"]
4946
#[lang = "async_fn_once"]
5047
pub trait AsyncFnOnce<Args: Tuple> {

0 commit comments

Comments
 (0)