about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-08-07 12:27:53 +0200
committerRalf Jung <post@ralfj.de>2020-08-07 12:38:55 +0200
commitec5d78d35004846f1d0c344e968eaf0068a68357 (patch)
treec9a726417bd37718bd41659aba56550c3fa2af8f
parent0aee186723a3bb3290fd4348b92b3c1aad862fc9 (diff)
downloadrust-ec5d78d35004846f1d0c344e968eaf0068a68357.tar.gz
rust-ec5d78d35004846f1d0c344e968eaf0068a68357.zip
fix feature gate and tracking issue
-rw-r--r--library/core/src/mem/maybe_uninit.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs
index 132b9db19ce..027498d3911 100644
--- a/library/core/src/mem/maybe_uninit.rs
+++ b/library/core/src/mem/maybe_uninit.rs
@@ -405,7 +405,7 @@ impl<T> MaybeUninit<T> {
     /// (Notice that the rules around references to uninitialized data are not finalized yet, but
     /// until they are, it is advisable to avoid them.)
     #[stable(feature = "maybe_uninit", since = "1.36.0")]
-    #[rustc_const_unstable(feature="maybe_uninit_as_ptr", issue = "none")]
+    #[rustc_const_unstable(feature = "const_maybe_uninit_as_ptr", issue = "75251")]
     #[inline(always)]
     pub const fn as_ptr(&self) -> *const T {
         // `MaybeUninit` and `ManuallyDrop` are both `repr(transparent)` so we can cast the pointer.
@@ -444,7 +444,7 @@ impl<T> MaybeUninit<T> {
     /// (Notice that the rules around references to uninitialized data are not finalized yet, but
     /// until they are, it is advisable to avoid them.)
     #[stable(feature = "maybe_uninit", since = "1.36.0")]
-    #[rustc_const_unstable(feature="maybe_uninit_as_ptr", issue = "none")]
+    #[rustc_const_unstable(feature = "const_maybe_uninit_as_ptr", issue = "75251")]
     #[inline(always)]
     pub const fn as_mut_ptr(&mut self) -> *mut T {
         // `MaybeUninit` and `ManuallyDrop` are both `repr(transparent)` so we can cast the pointer.