Skip to content

Commit

Permalink
Bump ptr_to_from_bits deprecation to Rust 1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 21, 2022
1 parent 4d37d1f commit a9e92be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/core/src/ptr/const_ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)]
Expand All @@ -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"
)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/ptr/mut_ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)]
Expand All @@ -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"
)]
Expand Down

0 comments on commit a9e92be

Please sign in to comment.