File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 121121#![ feature( const_float_methods) ]
122122#![ feature( const_heap) ]
123123#![ feature( const_nonnull_new) ]
124- #![ feature( const_pin_2) ]
125124#![ feature( const_ptr_sub_ptr) ]
126125#![ feature( const_raw_ptr_comparison) ]
127126#![ feature( const_size_of_val) ]
Original file line number Diff line number Diff line change @@ -1214,7 +1214,8 @@ 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_allow_const_fn_unstable( const_precise_live_drops) ]
1218+ #[ rustc_const_stable( feature = "const_pin" , since = "CURRENT_RUSTC_VERSION" ) ]
12181219 #[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
12191220 pub const fn into_inner ( pin : Pin < Ptr > ) -> Ptr {
12201221 pin. __pointer
@@ -1503,7 +1504,8 @@ impl<Ptr: Deref> Pin<Ptr> {
15031504 /// If the underlying data is [`Unpin`], [`Pin::into_inner`] should be used
15041505 /// instead.
15051506 #[ inline( always) ]
1506- #[ rustc_const_unstable( feature = "const_pin_2" , issue = "76654" ) ]
1507+ #[ rustc_allow_const_fn_unstable( const_precise_live_drops) ]
1508+ #[ rustc_const_stable( feature = "const_pin" , since = "CURRENT_RUSTC_VERSION" ) ]
15071509 #[ stable( feature = "pin_into_inner" , since = "1.39.0" ) ]
15081510 pub const unsafe fn into_inner_unchecked ( pin : Pin < Ptr > ) -> Ptr {
15091511 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