mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Bump ptr_to_from_bits deprecation to Rust 1.67
This commit is contained in:
parent
4d37d1f422
commit
a9e92be1f9
@ -120,7 +120,7 @@ impl<T: ?Sized> *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<T: ?Sized> *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"
|
||||
)]
|
||||
|
@ -126,7 +126,7 @@ impl<T: ?Sized> *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<T: ?Sized> *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"
|
||||
)]
|
||||
|
Loading…
Reference in New Issue
Block a user