diff --git a/library/core/src/ptr/const_ptr.rs b/library/core/src/ptr/const_ptr.rs index 2c371f635ab..e966e1bb466 100644 --- a/library/core/src/ptr/const_ptr.rs +++ b/library/core/src/ptr/const_ptr.rs @@ -120,7 +120,7 @@ impl *const T { /// ``` #[unstable(feature = "ptr_to_from_bits", issue = "91126")] #[rustc_deprecated( - since = "1.62", + since = "1.67", reason = "replaced by the `exposed_addr` method, or update your code \ to follow the strict provenance rules using its APIs" )] @@ -146,7 +146,7 @@ impl *const T { /// ``` #[unstable(feature = "ptr_to_from_bits", issue = "91126")] #[rustc_deprecated( - since = "1.62", + since = "1.67", reason = "replaced by the `ptr::from_exposed_addr` function, or update \ your code to follow the strict provenance rules using its APIs" )] diff --git a/library/core/src/ptr/mut_ptr.rs b/library/core/src/ptr/mut_ptr.rs index 79682531562..9507e8430c7 100644 --- a/library/core/src/ptr/mut_ptr.rs +++ b/library/core/src/ptr/mut_ptr.rs @@ -126,7 +126,7 @@ impl *mut T { /// ``` #[unstable(feature = "ptr_to_from_bits", issue = "91126")] #[rustc_deprecated( - since = "1.62", + since = "1.67", reason = "replaced by the `exposed_addr` method, or update your code \ to follow the strict provenance rules using its APIs" )] @@ -152,7 +152,7 @@ impl *mut T { /// ``` #[unstable(feature = "ptr_to_from_bits", issue = "91126")] #[rustc_deprecated( - since = "1.62", + since = "1.67", reason = "replaced by the `ptr::from_exposed_addr_mut` function, or \ update your code to follow the strict provenance rules using its APIs" )]