@@ -1982,7 +1982,8 @@ impl<Args: Tuple, F: Fn<Args> + ?Sized, A: Allocator> Fn<Args> for Box<F, A> {
19821982    } 
19831983} 
19841984
1985- #[ unstable( feature = "async_fn_traits" ,  issue = "none" ) ]  
1985+ #[ cfg_attr( bootstrap,  unstable( feature = "async_closure" ,  issue = "62290" ) ) ]  
1986+ #[ cfg_attr( not( bootstrap) ,  stable( feature = "async_closure" ,  since = "CURRENT_RUSTC_VERSION" ) ) ]  
19861987impl < Args :  Tuple ,  F :  AsyncFnOnce < Args >  + ?Sized ,  A :  Allocator >  AsyncFnOnce < Args >  for  Box < F ,  A >  { 
19871988    type  Output  = F :: Output ; 
19881989    type  CallOnceFuture  = F :: CallOnceFuture ; 
@@ -1992,7 +1993,8 @@ impl<Args: Tuple, F: AsyncFnOnce<Args> + ?Sized, A: Allocator> AsyncFnOnce<Args>
19921993    } 
19931994} 
19941995
1995- #[ unstable( feature = "async_fn_traits" ,  issue = "none" ) ]  
1996+ #[ cfg_attr( bootstrap,  unstable( feature = "async_closure" ,  issue = "62290" ) ) ]  
1997+ #[ cfg_attr( not( bootstrap) ,  stable( feature = "async_closure" ,  since = "CURRENT_RUSTC_VERSION" ) ) ]  
19961998impl < Args :  Tuple ,  F :  AsyncFnMut < Args >  + ?Sized ,  A :  Allocator >  AsyncFnMut < Args >  for  Box < F ,  A >  { 
19971999    type  CallRefFuture < ' a > 
19982000        = F :: CallRefFuture < ' a > 
@@ -2004,7 +2006,8 @@ impl<Args: Tuple, F: AsyncFnMut<Args> + ?Sized, A: Allocator> AsyncFnMut<Args> f
20042006    } 
20052007} 
20062008
2007- #[ unstable( feature = "async_fn_traits" ,  issue = "none" ) ]  
2009+ #[ cfg_attr( bootstrap,  unstable( feature = "async_closure" ,  issue = "62290" ) ) ]  
2010+ #[ cfg_attr( not( bootstrap) ,  stable( feature = "async_closure" ,  since = "CURRENT_RUSTC_VERSION" ) ) ]  
20082011impl < Args :  Tuple ,  F :  AsyncFn < Args >  + ?Sized ,  A :  Allocator >  AsyncFn < Args >  for  Box < F ,  A >  { 
20092012    extern  "rust-call"  fn  async_call ( & self ,  args :  Args )  -> Self :: CallRefFuture < ' _ >  { 
20102013        F :: async_call ( self ,  args) 
0 commit comments