mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 19:47:33 +00:00
![]() Improve `ambiguous_wide_pointer_comparisons` lint compare diagnostics This PR improves the `ambiguous_wide_pointer_comparisons` lint compare diagnostics: `cmp`/`partial_cmp`, but also the operators `<`/`>`/`>=`/`<=`, by: 1. removing the reference to `std::ptr::addr_eq` which only works for equality 2. and adding an `#[expect]` suggestion for keeping the current behavior Fixes rust-lang/rust#141510 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |