diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-27 13:01:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-27 13:01:36 +0200 |
| commit | a0d77f37f3242b236169ff7adf1e7aa20464b18a (patch) | |
| tree | 9afa55c7a1c09445fc6b1c3cf4ce6df04f26926f /compiler/rustc_codegen_llvm/src | |
| parent | 77e35944af57b4f4f2122f251b0a392ece6e199a (diff) | |
| parent | 77e295c39c6bd4a29d310388219fc31b6cfc7136 (diff) | |
| download | rust-a0d77f37f3242b236169ff7adf1e7aa20464b18a.tar.gz rust-a0d77f37f3242b236169ff7adf1e7aa20464b18a.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
