@@ -734,7 +734,8 @@ impl<T, E> Result<T, E> {
734734 /// ```
735735 #[ inline]
736736 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
737- #[ rustc_const_unstable( feature = "const_result" , issue = "82814" ) ]
737+ #[ rustc_const_stable( feature = "const_result" , since = "CURRENT_RUSTC_VERSION" ) ]
738+ #[ cfg_attr( bootstrap, rustc_allow_const_fn_unstable( const_mut_refs) ) ]
738739 pub const fn as_mut ( & mut self ) -> Result < & mut T , & mut E > {
739740 match * self {
740741 Ok ( ref mut x) => Ok ( x) ,
@@ -1536,7 +1537,8 @@ impl<T, E> Result<&T, E> {
15361537 /// ```
15371538 #[ inline]
15381539 #[ stable( feature = "result_copied" , since = "1.59.0" ) ]
1539- #[ rustc_const_unstable( feature = "const_result" , issue = "82814" ) ]
1540+ #[ rustc_const_stable( feature = "const_result" , since = "CURRENT_RUSTC_VERSION" ) ]
1541+ #[ rustc_allow_const_fn_unstable( const_precise_live_drops) ]
15401542 pub const fn copied ( self ) -> Result < T , E >
15411543 where
15421544 T : Copy ,
@@ -1586,7 +1588,9 @@ impl<T, E> Result<&mut T, E> {
15861588 /// ```
15871589 #[ inline]
15881590 #[ stable( feature = "result_copied" , since = "1.59.0" ) ]
1589- #[ rustc_const_unstable( feature = "const_result" , issue = "82814" ) ]
1591+ #[ rustc_const_stable( feature = "const_result" , since = "CURRENT_RUSTC_VERSION" ) ]
1592+ #[ cfg_attr( bootstrap, rustc_allow_const_fn_unstable( const_mut_refs) ) ]
1593+ #[ rustc_allow_const_fn_unstable( const_precise_live_drops) ]
15901594 pub const fn copied ( self ) -> Result < T , E >
15911595 where
15921596 T : Copy ,
@@ -1639,7 +1643,8 @@ impl<T, E> Result<Option<T>, E> {
16391643 /// ```
16401644 #[ inline]
16411645 #[ stable( feature = "transpose_result" , since = "1.33.0" ) ]
1642- #[ rustc_const_unstable( feature = "const_result" , issue = "82814" ) ]
1646+ #[ rustc_const_stable( feature = "const_result" , since = "CURRENT_RUSTC_VERSION" ) ]
1647+ #[ rustc_allow_const_fn_unstable( const_precise_live_drops) ]
16431648 pub const fn transpose ( self ) -> Option < Result < T , E > > {
16441649 match self {
16451650 Ok ( Some ( x) ) => Some ( Ok ( x) ) ,
0 commit comments