2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 101
101
#![ feature( array_windows) ]
102
102
#![ feature( ascii_char) ]
103
103
#![ feature( assert_matches) ]
104
+ #![ feature( async_closure) ]
104
105
#![ feature( async_fn_traits) ]
105
106
#![ feature( async_iterator) ]
106
107
#![ feature( clone_to_uninit) ]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use crate::marker::Tuple;
4
4
/// An async-aware version of the [`Fn`](crate::ops::Fn) trait.
5
5
///
6
6
/// 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 " ) ]
8
8
#[ rustc_paren_sugar]
9
9
#[ fundamental]
10
10
#[ must_use = "async closures are lazy and do nothing unless called" ]
@@ -18,7 +18,7 @@ pub trait AsyncFn<Args: Tuple>: AsyncFnMut<Args> {
18
18
/// An async-aware version of the [`FnMut`](crate::ops::FnMut) trait.
19
19
///
20
20
/// 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 " ) ]
22
22
#[ rustc_paren_sugar]
23
23
#[ fundamental]
24
24
#[ must_use = "async closures are lazy and do nothing unless called" ]
@@ -39,7 +39,7 @@ pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce<Args> {
39
39
/// An async-aware version of the [`FnOnce`](crate::ops::FnOnce) trait.
40
40
///
41
41
/// 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 " ) ]
43
43
#[ rustc_paren_sugar]
44
44
#[ fundamental]
45
45
#[ must_use = "async closures are lazy and do nothing unless called" ]
0 commit comments