rust/library/core
Michael Goulet fcb9fcc28c
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.
2023-11-25 17:23:33 -05:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Rollup merge of #117968 - Urgau:stabilize-ptr-addr-eq, r=dtolnay 2023-11-25 17:23:33 -05:00
tests Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
Cargo.toml