File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ pub const unsafe fn read_unaligned<T>(src: *const T) -> T {
871
871
/// ```
872
872
#[ inline]
873
873
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
874
- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
874
+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
875
875
pub const unsafe fn write < T > ( dst : * mut T , src : T ) {
876
876
// We are calling the intrinsics directly to avoid function calls in the generated code
877
877
// as `intrinsics::copy_nonoverlapping` is a wrapper function.
@@ -968,7 +968,7 @@ pub const unsafe fn write<T>(dst: *mut T, src: T) {
968
968
/// ```
969
969
#[ inline]
970
970
#[ stable( feature = "ptr_unaligned" , since = "1.17.0" ) ]
971
- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
971
+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
972
972
pub const unsafe fn write_unaligned < T > ( dst : * mut T , src : T ) {
973
973
// SAFETY: the caller must guarantee that `dst` is valid for writes.
974
974
// `dst` cannot overlap `src` because the caller has mutable access
Original file line number Diff line number Diff line change @@ -1002,7 +1002,7 @@ impl<T: ?Sized> *mut T {
1002
1002
///
1003
1003
/// [`ptr::write`]: crate::ptr::write()
1004
1004
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1005
- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
1005
+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
1006
1006
#[ inline( always) ]
1007
1007
pub const unsafe fn write ( self , val : T )
1008
1008
where
@@ -1057,7 +1057,7 @@ impl<T: ?Sized> *mut T {
1057
1057
///
1058
1058
/// [`ptr::write_unaligned`]: crate::ptr::write_unaligned()
1059
1059
#[ stable( feature = "pointer_methods" , since = "1.26.0" ) ]
1060
- #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "none " ) ]
1060
+ #[ rustc_const_unstable( feature = "const_ptr_write" , issue = "86302 " ) ]
1061
1061
#[ inline( always) ]
1062
1062
pub const unsafe fn write_unaligned ( self , val : T )
1063
1063
where
You can’t perform that action at this time.
0 commit comments