Skip to content

Commit a9e92be

Browse files
committed
Bump ptr_to_from_bits deprecation to Rust 1.67
1 parent 4d37d1f commit a9e92be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library/core/src/ptr/const_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl<T: ?Sized> *const T {
120120
/// ```
121121
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
122122
#[rustc_deprecated(
123-
since = "1.62",
123+
since = "1.67",
124124
reason = "replaced by the `exposed_addr` method, or update your code \
125125
to follow the strict provenance rules using its APIs"
126126
)]
@@ -146,7 +146,7 @@ impl<T: ?Sized> *const T {
146146
/// ```
147147
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
148148
#[rustc_deprecated(
149-
since = "1.62",
149+
since = "1.67",
150150
reason = "replaced by the `ptr::from_exposed_addr` function, or update \
151151
your code to follow the strict provenance rules using its APIs"
152152
)]

library/core/src/ptr/mut_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl<T: ?Sized> *mut T {
126126
/// ```
127127
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
128128
#[rustc_deprecated(
129-
since = "1.62",
129+
since = "1.67",
130130
reason = "replaced by the `exposed_addr` method, or update your code \
131131
to follow the strict provenance rules using its APIs"
132132
)]
@@ -152,7 +152,7 @@ impl<T: ?Sized> *mut T {
152152
/// ```
153153
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
154154
#[rustc_deprecated(
155-
since = "1.62",
155+
since = "1.67",
156156
reason = "replaced by the `ptr::from_exposed_addr_mut` function, or \
157157
update your code to follow the strict provenance rules using its APIs"
158158
)]

0 commit comments

Comments
 (0)