@@ -694,7 +694,6 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {
694
694
#[ stable( feature = "fused" , since = "1.26.0" ) ]
695
695
impl < I : FusedIterator + ?Sized > FusedIterator for Box < I > { }
696
696
697
- #[ cfg( not( stage0) ) ]
698
697
#[ unstable( feature = "boxed_closure_impls" ,
699
698
reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
700
699
issue = "48055" ) ]
@@ -706,7 +705,6 @@ impl<A, F: FnOnce<A> + ?Sized> FnOnce<A> for Box<F> {
706
705
}
707
706
}
708
707
709
- #[ cfg( not( stage0) ) ]
710
708
#[ unstable( feature = "boxed_closure_impls" ,
711
709
reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
712
710
issue = "48055" ) ]
@@ -716,7 +714,6 @@ impl<A, F: FnMut<A> + ?Sized> FnMut<A> for Box<F> {
716
714
}
717
715
}
718
716
719
- #[ cfg( not( stage0) ) ]
720
717
#[ unstable( feature = "boxed_closure_impls" ,
721
718
reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
722
719
issue = "48055" ) ]
@@ -783,9 +780,6 @@ impl<A, F> FnBox<A> for F
783
780
#[ unstable( feature = "fnbox" ,
784
781
reason = "will be deprecated if and when `Box<FnOnce>` becomes usable" , issue = "28796" ) ]
785
782
impl < A , R > FnOnce < A > for Box < dyn FnBox < A , Output = R > + ' _ > {
786
- #[ cfg( stage0) ]
787
- type Output = R ;
788
-
789
783
extern "rust-call" fn call_once ( self , args : A ) -> R {
790
784
self . call_box ( args)
791
785
}
@@ -794,9 +788,6 @@ impl<A, R> FnOnce<A> for Box<dyn FnBox<A, Output = R> + '_> {
794
788
#[ unstable( feature = "fnbox" ,
795
789
reason = "will be deprecated if and when `Box<FnOnce>` becomes usable" , issue = "28796" ) ]
796
790
impl < A , R > FnOnce < A > for Box < dyn FnBox < A , Output = R > + Send + ' _ > {
797
- #[ cfg( stage0) ]
798
- type Output = R ;
799
-
800
791
extern "rust-call" fn call_once ( self , args : A ) -> R {
801
792
self . call_box ( args)
802
793
}
0 commit comments