File tree 3 files changed +2
-4
lines changed
3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 120
120
#![ feature( const_float_methods) ]
121
121
#![ feature( const_heap) ]
122
122
#![ feature( const_nonnull_new) ]
123
- #![ feature( const_pin_2) ]
124
123
#![ feature( const_ptr_is_null) ]
125
124
#![ feature( const_ptr_sub_ptr) ]
126
125
#![ feature( const_raw_ptr_comparison) ]
Original file line number Diff line number Diff line change @@ -1214,7 +1214,7 @@ impl<Ptr: Deref<Target: Unpin>> Pin<Ptr> {
1214
1214
/// assert_eq!(*r, 5);
1215
1215
/// ```
1216
1216
#[ inline( always) ]
1217
- #[ rustc_const_unstable ( feature = "const_pin_2 " , issue = "76654 " ) ]
1217
+ #[ rustc_const_stable ( feature = "const_pin " , since = "CURRENT_RUSTC_VERSION " ) ]
1218
1218
#[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
1219
1219
pub const fn into_inner ( pin : Pin < Ptr > ) -> Ptr {
1220
1220
pin. __pointer
@@ -1503,7 +1503,7 @@ impl<Ptr: Deref> Pin<Ptr> {
1503
1503
/// If the underlying data is [`Unpin`], [`Pin::into_inner`] should be used
1504
1504
/// instead.
1505
1505
#[ inline( always) ]
1506
- #[ rustc_const_unstable ( feature = "const_pin_2 " , issue = "76654 " ) ]
1506
+ #[ rustc_const_stable ( feature = "const_pin " , since = "CURRENT_RUSTC_VERSION " ) ]
1507
1507
#[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
1508
1508
pub const unsafe fn into_inner_unchecked ( pin : Pin < Ptr > ) -> Ptr {
1509
1509
pin. __pointer
Original file line number Diff line number Diff line change 21
21
#![ feature( const_eval_select) ]
22
22
#![ feature( const_heap) ]
23
23
#![ feature( const_nonnull_new) ]
24
- #![ feature( const_pin_2) ]
25
24
#![ feature( const_trait_impl) ]
26
25
#![ feature( core_intrinsics) ]
27
26
#![ feature( core_io_borrowed_buf) ]
You can’t perform that action at this time.
0 commit comments