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 @@ -510,7 +510,7 @@ pub const fn null_mut<T>() -> *mut T {
510510/// see the [module documentation][crate::ptr] for details.
511511#[ inline( always) ]
512512#[ must_use]
513- #[ rustc_const_stable( feature = "strict_provenance " , since = "1.61.0" ) ]
513+ #[ rustc_const_stable( feature = "stable_things_using_strict_provenance " , since = "1.61.0" ) ]
514514#[ unstable( feature = "strict_provenance" , issue = "95228" ) ]
515515pub const fn invalid < T > ( addr : usize ) -> * const T {
516516 // FIXME(strict_provenance_magic): I am magic and should be a compiler intrinsic.
@@ -537,7 +537,7 @@ pub const fn invalid<T>(addr: usize) -> *const T {
537537/// see the [module documentation][crate::ptr] for details.
538538#[ inline( always) ]
539539#[ must_use]
540- #[ rustc_const_stable( feature = "strict_provenance " , since = "1.61.0" ) ]
540+ #[ rustc_const_stable( feature = "stable_things_using_strict_provenance " , since = "1.61.0" ) ]
541541#[ unstable( feature = "strict_provenance" , issue = "95228" ) ]
542542pub const fn invalid_mut < T > ( addr : usize ) -> * mut T {
543543 // FIXME(strict_provenance_magic): I am magic and should be a compiler intrinsic.
You can’t perform that action at this time.
0 commit comments