File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 101101#![ feature( array_windows) ]
102102#![ feature( ascii_char) ]
103103#![ feature( assert_matches) ]
104+ #![ feature( async_closure) ]
104105#![ feature( async_fn_traits) ]
105106#![ feature( async_iterator) ]
106107#![ feature( clone_to_uninit) ]
Original file line number Diff line number Diff 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" ]
You can’t perform that action at this time.
0 commit comments