File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 156156#![ feature( const_slice_split_at_mut) ]
157157#![ feature( const_str_from_utf8_unchecked_mut) ]
158158#![ feature( const_swap) ]
159- #![ feature( const_transmute_copy) ]
160159#![ feature( const_try) ]
161160#![ feature( const_type_id) ]
162161#![ feature( const_type_name) ]
Original file line number Diff line number Diff line change @@ -1051,7 +1051,7 @@ pub const fn copy<T: Copy>(x: &T) -> T {
10511051#[ inline]
10521052#[ must_use]
10531053#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1054- #[ rustc_const_unstable ( feature = "const_transmute_copy" , issue = "83165 " ) ]
1054+ #[ rustc_const_stable ( feature = "const_transmute_copy" , since = "CURRENT_RUSTC_VERSION " ) ]
10551055pub const unsafe fn transmute_copy < Src , Dst > ( src : & Src ) -> Dst {
10561056 assert ! (
10571057 size_of:: <Src >( ) >= size_of:: <Dst >( ) ,
You can’t perform that action at this time.
0 commit comments