File tree 4 files changed +6
-8
lines changed
4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ impl<T> Cell<T> {
416
416
/// assert_eq!(five, 5);
417
417
/// ```
418
418
#[ stable( feature = "move_cell" , since = "1.17.0" ) ]
419
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
419
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
420
420
pub const fn into_inner ( self ) -> T {
421
421
self . value . into_inner ( )
422
422
}
@@ -731,7 +731,7 @@ impl<T> RefCell<T> {
731
731
/// let five = c.into_inner();
732
732
/// ```
733
733
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
734
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
734
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
735
735
#[ inline]
736
736
pub const fn into_inner ( self ) -> T {
737
737
// Since this function takes `self` (the `RefCell`) by value, the
@@ -1884,7 +1884,7 @@ impl<T> UnsafeCell<T> {
1884
1884
/// ```
1885
1885
#[ inline( always) ]
1886
1886
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1887
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
1887
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
1888
1888
pub const fn into_inner ( self ) -> T {
1889
1889
self . value
1890
1890
}
Original file line number Diff line number Diff line change 103
103
#![ feature( const_arguments_as_str) ]
104
104
#![ feature( const_bigint_helper_methods) ]
105
105
#![ feature( const_caller_location) ]
106
- #![ feature( const_cell_into_inner) ]
107
106
#![ feature( const_char_convert) ]
108
107
#![ feature( const_discriminant) ]
109
108
#![ feature( const_eval_select) ]
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ impl AtomicBool {
354
354
/// ```
355
355
#[ inline]
356
356
#[ stable( feature = "atomic_access" , since = "1.15.0" ) ]
357
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
357
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
358
358
pub const fn into_inner ( self ) -> bool {
359
359
self . v . into_inner ( ) != 0
360
360
}
@@ -960,7 +960,7 @@ impl<T> AtomicPtr<T> {
960
960
/// ```
961
961
#[ inline]
962
962
#[ stable( feature = "atomic_access" , since = "1.15.0" ) ]
963
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
963
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
964
964
pub const fn into_inner ( self ) -> * mut T {
965
965
self . p . into_inner ( )
966
966
}
@@ -1472,7 +1472,7 @@ macro_rules! atomic_int {
1472
1472
/// ```
1473
1473
#[ inline]
1474
1474
#[ $stable_access]
1475
- #[ rustc_const_unstable ( feature = "const_cell_into_inner" , issue = "78729 " ) ]
1475
+ #[ rustc_const_stable ( feature = "const_cell_into_inner" , since = "1.59.0 " ) ]
1476
1476
pub const fn into_inner( self ) -> $int_type {
1477
1477
self . v. into_inner( )
1478
1478
}
Original file line number Diff line number Diff line change 8
8
#![ feature( cfg_panic) ]
9
9
#![ feature( cfg_target_has_atomic) ]
10
10
#![ feature( const_assume) ]
11
- #![ feature( const_cell_into_inner) ]
12
11
#![ feature( const_convert) ]
13
12
#![ feature( const_maybe_uninit_as_mut_ptr) ]
14
13
#![ feature( const_maybe_uninit_assume_init) ]
You can’t perform that action at this time.
0 commit comments