Rollup merge of #128120 - compiler-errors:async-fn-name, r=oli-obk · patricklam/verify-rust-std@cea2ca9

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,7 @@ use crate::marker::Tuple;

44

/// An async-aware version of the [`Fn`](crate::ops::Fn) trait.

55

///

66

/// All `async fn` and functions returning futures implement this trait.

7-

#[unstable(feature = "async_fn_traits", issue = "none")]

7+

#[unstable(feature = "async_closure", issue = "62290")]

88

#[rustc_paren_sugar]

99

#[fundamental]

1010

#[must_use = "async closures are lazy and do nothing unless called"]

@@ -18,7 +18,7 @@ pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {

1818

/// An async-aware version of the [`FnMut`](crate::ops::FnMut) trait.

1919

///

2020

/// All `async fn` and functions returning futures implement this trait.

21-

#[unstable(feature = "async_fn_traits", issue = "none")]

21+

#[unstable(feature = "async_closure", issue = "62290")]

2222

#[rustc_paren_sugar]

2323

#[fundamental]

2424

#[must_use = "async closures are lazy and do nothing unless called"]

@@ -39,7 +39,7 @@ pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {

3939

/// An async-aware version of the [`FnOnce`](crate::ops::FnOnce) trait.

4040

///

4141

/// All `async fn` and functions returning futures implement this trait.

42-

#[unstable(feature = "async_fn_traits", issue = "none")]

42+

#[unstable(feature = "async_closure", issue = "62290")]

4343

#[rustc_paren_sugar]

4444

#[fundamental]

4545

#[must_use = "async closures are lazy and do nothing unless called"]