diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-25 17:23:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-25 17:23:33 -0500 |
| commit | fcb9fcc28ccfe072c7208a2cd34850cf06183756 (patch) | |
| tree | 162bdc5f25d822ccddad60ff73dc172b97e98c51 /library/alloc/src/lib.rs | |
| parent | fd1a263fc7029b06a8f041feadbcc85c65b0a6e8 (diff) | |
| parent | 8d91d6662fe66ad9e5af290311e7452f18107711 (diff) | |
| download | rust-fcb9fcc28ccfe072c7208a2cd34850cf06183756.tar.gz rust-fcb9fcc28ccfe072c7208a2cd34850cf06183756.zip | |
Rollup merge of #117968 - Urgau:stabilize-ptr-addr-eq, r=dtolnay
Stabilize `ptr::addr_eq` This PR stabilize the `ptr_addr_eq` library feature, representing: ```rust // core::ptr pub fn addr_eq<T: ?Sized, U: ?Sized>(p: *const T, q: *const U) -> bool; ``` FCP has already started [on the tracking issue](https://github.com/rust-lang/rust/issues/116324#issuecomment-1813008697) and is waiting on the final period comment. Note: stabilizing this feature is somewhat of requirement for a new T-lang lint, cf. https://github.com/rust-lang/rust/pull/117758#issuecomment-1813183686.
Diffstat (limited to 'library/alloc/src/lib.rs')
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 4c014283210..59b2433ca74 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -140,7 +140,6 @@ #![feature(maybe_uninit_uninit_array)] #![feature(maybe_uninit_uninit_array_transpose)] #![feature(pattern)] -#![feature(ptr_addr_eq)] #![feature(ptr_internals)] #![feature(ptr_metadata)] #![feature(ptr_sub_ptr)] |
