Skip to content

Commit 0cea1c9

Browse files
committed
Added reference to tracking issue #80377
1 parent 5e27765 commit 0cea1c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

library/core/src/ptr/const_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ impl<T: ?Sized> *const T {
725725
///
726726
/// [`ptr::read`]: crate::ptr::read()
727727
#[stable(feature = "pointer_methods", since = "1.26.0")]
728-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
728+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
729729
#[inline]
730730
pub const unsafe fn read(self) -> T
731731
where
@@ -764,7 +764,7 @@ impl<T: ?Sized> *const T {
764764
///
765765
/// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
766766
#[stable(feature = "pointer_methods", since = "1.26.0")]
767-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
767+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
768768
#[inline]
769769
pub const unsafe fn read_unaligned(self) -> T
770770
where

library/core/src/ptr/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ pub unsafe fn replace<T>(dst: *mut T, mut src: T) -> T {
685685
/// [valid]: self#safety
686686
#[inline]
687687
#[stable(feature = "rust1", since = "1.0.0")]
688-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
688+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
689689
pub const unsafe fn read<T>(src: *const T) -> T {
690690
// `copy_nonoverlapping` takes care of debug_assert.
691691
let mut tmp = MaybeUninit::<T>::uninit();
@@ -785,7 +785,7 @@ pub const unsafe fn read<T>(src: *const T) -> T {
785785
/// ```
786786
#[inline]
787787
#[stable(feature = "ptr_unaligned", since = "1.17.0")]
788-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
788+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
789789
pub const unsafe fn read_unaligned<T>(src: *const T) -> T {
790790
// `copy_nonoverlapping` takes care of debug_assert.
791791
let mut tmp = MaybeUninit::<T>::uninit();

library/core/src/ptr/mut_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ impl<T: ?Sized> *mut T {
832832
///
833833
/// [`ptr::read`]: crate::ptr::read()
834834
#[stable(feature = "pointer_methods", since = "1.26.0")]
835-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
835+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
836836
#[inline]
837837
pub const unsafe fn read(self) -> T
838838
where
@@ -871,7 +871,7 @@ impl<T: ?Sized> *mut T {
871871
///
872872
/// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
873873
#[stable(feature = "pointer_methods", since = "1.26.0")]
874-
#[rustc_const_unstable(feature = "const_ptr_read", issue = "none")]
874+
#[rustc_const_unstable(feature = "const_ptr_read", issue = "80377")]
875875
#[inline]
876876
pub const unsafe fn read_unaligned(self) -> T
877877
where

0 commit comments

Comments
 (0)