File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 120120#![ feature( const_float_methods) ]
121121#![ feature( const_heap) ]
122122#![ feature( const_nonnull_new) ]
123- #![ feature( const_pin_2) ]
124123#![ feature( const_ptr_is_null) ]
125124#![ feature( const_ptr_sub_ptr) ]
126125#![ 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> {
12141214 /// assert_eq!(*r, 5);
12151215 /// ```
12161216 #[ inline( always) ]
1217- #[ rustc_const_unstable ( feature = "const_pin_2 " , issue = "76654 " ) ]
1217+ #[ rustc_const_stable ( feature = "const_pin " , since = "CURRENT_RUSTC_VERSION " ) ]
12181218 #[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
12191219 pub const fn into_inner ( pin : Pin < Ptr > ) -> Ptr {
12201220 pin. __pointer
@@ -1503,7 +1503,7 @@ impl<Ptr: Deref> Pin<Ptr> {
15031503 /// If the underlying data is [`Unpin`], [`Pin::into_inner`] should be used
15041504 /// instead.
15051505 #[ inline( always) ]
1506- #[ rustc_const_unstable ( feature = "const_pin_2 " , issue = "76654 " ) ]
1506+ #[ rustc_const_stable ( feature = "const_pin " , since = "CURRENT_RUSTC_VERSION " ) ]
15071507 #[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
15081508 pub const unsafe fn into_inner_unchecked ( pin : Pin < Ptr > ) -> Ptr {
15091509 pin. __pointer
Original file line number Diff line number Diff line change 2121#![ feature( const_eval_select) ]
2222#![ feature( const_heap) ]
2323#![ feature( const_nonnull_new) ]
24- #![ feature( const_pin_2) ]
2524#![ feature( const_trait_impl) ]
2625#![ feature( core_intrinsics) ]
2726#![ feature( core_io_borrowed_buf) ]
You can’t perform that action at this time.
0 commit comments