Skip to content

Commit 971ecff

Browse files
committed
Fix feature name of stable parts of strict_provenance
1 parent 3c8e7b9 commit 971ecff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/ptr/mod.rs

+2-2
Original file line numberDiff line numberDiff 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")]
515515
pub 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")]
542542
pub const fn invalid_mut<T>(addr: usize) -> *mut T {
543543
// FIXME(strict_provenance_magic): I am magic and should be a compiler intrinsic.

0 commit comments

Comments
 (0)