@@ -607,8 +607,8 @@ impl<T, E> Result<T, E> {
607607 /// ```
608608 #[ must_use]
609609 #[ inline]
610- #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
611610 #[ stable( feature = "is_some_and" , since = "1.70.0" ) ]
611+ #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
612612 pub const fn is_ok_and ( self , f : impl ~const FnOnce ( T ) -> bool + ~const Destruct ) -> bool
613613 where
614614 T : ~const Destruct ,
@@ -661,8 +661,8 @@ impl<T, E> Result<T, E> {
661661 /// ```
662662 #[ must_use]
663663 #[ inline]
664- #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
665664 #[ stable( feature = "is_some_and" , since = "1.70.0" ) ]
665+ #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
666666 pub const fn is_err_and ( self , f : impl ~const FnOnce ( E ) -> bool + ~const Destruct ) -> bool
667667 where
668668 E : ~const Destruct ,
@@ -819,7 +819,6 @@ impl<T, E> Result<T, E> {
819819 #[ inline]
820820 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
821821 #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
822- #[ rustc_allow_const_fn_unstable( const_precise_live_drops) ]
823822 pub const fn map < U , F : ~const FnOnce ( T ) -> U + ~const Destruct > ( self , op : F ) -> Result < U , E > {
824823 match self {
825824 Ok ( t) => Ok ( op ( t) ) ,
@@ -847,8 +846,8 @@ impl<T, E> Result<T, E> {
847846 /// ```
848847 #[ inline]
849848 #[ stable( feature = "result_map_or" , since = "1.41.0" ) ]
850- #[ must_use = "if you don't need the returned value, use `if let` instead" ]
851849 #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
850+ #[ must_use = "if you don't need the returned value, use `if let` instead" ]
852851 pub const fn map_or < U , F : ~const FnOnce ( T ) -> U + ~const Destruct > ( self , default : U , f : F ) -> U
853852 where
854853 T : ~const Destruct ,
@@ -1464,8 +1463,8 @@ impl<T, E> Result<T, E> {
14641463 /// ```
14651464 #[ inline]
14661465 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1467- #[ rustc_confusables( "flat_map" , "flatmap" ) ]
14681466 #[ rustc_const_unstable( feature = "const_trait_impl" , issue = "67792" ) ]
1467+ #[ rustc_confusables( "flat_map" , "flatmap" ) ]
14691468 pub const fn and_then < U , F : ~const FnOnce ( T ) -> Result < U , E > + ~const Destruct > (
14701469 self ,
14711470 op : F ,
0 commit comments