@@ -694,7 +694,6 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {
694694#[ stable( feature = "fused" , since = "1.26.0" ) ]
695695impl < I : FusedIterator + ?Sized > FusedIterator for Box < I > { }
696696
697- #[ cfg( not( stage0) ) ]
698697#[ unstable( feature = "boxed_closure_impls" ,
699698 reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
700699 issue = "48055" ) ]
@@ -706,7 +705,6 @@ impl<A, F: FnOnce<A> + ?Sized> FnOnce<A> for Box<F> {
706705 }
707706}
708707
709- #[ cfg( not( stage0) ) ]
710708#[ unstable( feature = "boxed_closure_impls" ,
711709 reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
712710 issue = "48055" ) ]
@@ -716,7 +714,6 @@ impl<A, F: FnMut<A> + ?Sized> FnMut<A> for Box<F> {
716714 }
717715}
718716
719- #[ cfg( not( stage0) ) ]
720717#[ unstable( feature = "boxed_closure_impls" ,
721718 reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more" ,
722719 issue = "48055" ) ]
@@ -783,9 +780,6 @@ impl<A, F> FnBox<A> for F
783780#[ unstable( feature = "fnbox" ,
784781 reason = "will be deprecated if and when `Box<FnOnce>` becomes usable" , issue = "28796" ) ]
785782impl < A , R > FnOnce < A > for Box < dyn FnBox < A , Output = R > + ' _ > {
786- #[ cfg( stage0) ]
787- type Output = R ;
788-
789783 extern "rust-call" fn call_once ( self , args : A ) -> R {
790784 self . call_box ( args)
791785 }
@@ -794,9 +788,6 @@ impl<A, R> FnOnce<A> for Box<dyn FnBox<A, Output = R> + '_> {
794788#[ unstable( feature = "fnbox" ,
795789 reason = "will be deprecated if and when `Box<FnOnce>` becomes usable" , issue = "28796" ) ]
796790impl < A , R > FnOnce < A > for Box < dyn FnBox < A , Output = R > + Send + ' _ > {
797- #[ cfg( stage0) ]
798- type Output = R ;
799-
800791 extern "rust-call" fn call_once ( self , args : A ) -> R {
801792 self . call_box ( args)
802793 }
0 commit comments