File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 156
156
#![ feature( const_slice_split_at_mut) ]
157
157
#![ feature( const_str_from_utf8_unchecked_mut) ]
158
158
#![ feature( const_swap) ]
159
- #![ feature( const_transmute_copy) ]
160
159
#![ feature( const_try) ]
161
160
#![ feature( const_type_id) ]
162
161
#![ 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 {
1051
1051
#[ inline]
1052
1052
#[ must_use]
1053
1053
#[ 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 " ) ]
1055
1055
pub const unsafe fn transmute_copy < Src , Dst > ( src : & Src ) -> Dst {
1056
1056
assert ! (
1057
1057
size_of:: <Src >( ) >= size_of:: <Dst >( ) ,
You can’t perform that action at this time.
0 commit comments