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 129129#![ feature( const_nonnull_new) ]
130130#![ feature( const_num_midpoint) ]
131131#![ feature( const_option_ext) ]
132- #![ feature( const_pin_2) ]
133132#![ feature( const_pointer_is_aligned) ]
134133#![ feature( const_ptr_is_null) ]
135134#![ feature( const_ptr_sub_ptr) ]
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_likely) ]
2222#![ feature( const_nonnull_new) ]
2323#![ feature( const_option_ext) ]
24- #![ feature( const_pin_2) ]
2524#![ feature( const_pointer_is_aligned) ]
2625#![ feature( const_three_way_compare) ]
2726#![ feature( const_trait_impl) ]
You can’t perform that action at this time.
0 commit comments