Files
rust/compiler
Michael Goulet a0d77f37f3 Rollup merge of #141536 - Urgau:ambi_wide_ptr-cmp-diag, r=fee1-dead
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
2025-05-27 13:01:36 +02:00
..
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-22 11:55:22 +10:00
2025-05-26 08:48:19 +00:00
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-24 20:31:37 +02:00
2025-05-12 15:33:37 +02:00
2025-05-24 15:06:53 +08:00