File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ impl<T> MaybeUninit<T> {
405405 /// (Notice that the rules around references to uninitialized data are not finalized yet, but
406406 /// until they are, it is advisable to avoid them.)
407407 #[ stable( feature = "maybe_uninit" , since = "1.36.0" ) ]
408- #[ rustc_const_unstable( feature= "maybe_uninit_as_ptr ", issue = "none " ) ]
408+ #[ rustc_const_unstable( feature = "const_maybe_uninit_as_ptr ", issue = "75251 " ) ]
409409 #[ inline( always) ]
410410 pub const fn as_ptr ( & self ) -> * const T {
411411 // `MaybeUninit` and `ManuallyDrop` are both `repr(transparent)` so we can cast the pointer.
@@ -444,7 +444,7 @@ impl<T> MaybeUninit<T> {
444444 /// (Notice that the rules around references to uninitialized data are not finalized yet, but
445445 /// until they are, it is advisable to avoid them.)
446446 #[ stable( feature = "maybe_uninit" , since = "1.36.0" ) ]
447- #[ rustc_const_unstable( feature= "maybe_uninit_as_ptr ", issue = "none " ) ]
447+ #[ rustc_const_unstable( feature = "const_maybe_uninit_as_ptr ", issue = "75251 " ) ]
448448 #[ inline( always) ]
449449 pub const fn as_mut_ptr ( & mut self ) -> * mut T {
450450 // `MaybeUninit` and `ManuallyDrop` are both `repr(transparent)` so we can cast the pointer.
You can’t perform that action at this time.
0 commit comments