@@ -525,14 +525,14 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
525525/// }
526526/// ```
527527#[ rustc_paren_sugar]
528- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
528+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
529529pub trait FnBox < A > {
530530 type Output ;
531531
532532 fn call_box ( self : Box < Self > , args : A ) -> Self :: Output ;
533533}
534534
535- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
535+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
536536impl < A , F > FnBox < A > for F where F : FnOnce < A >
537537{
538538 type Output = F :: Output ;
@@ -542,7 +542,7 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A>
542542 }
543543}
544544
545- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
545+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
546546impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + ' a > {
547547 type Output = R ;
548548
@@ -551,7 +551,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
551551 }
552552}
553553
554- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
554+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
555555impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + Send + ' a > {
556556 type Output = R ;
557557
0 commit comments