diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-04-09 15:23:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-09 15:23:17 +0000 |
| commit | 630ac0ca723029d548324b00c1494d0d350cab35 (patch) | |
| tree | 364d023784e3a1d25266db63fa39970219dabe62 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 1cfc95c573b92c85f8659d0111e3b44d8900876b (diff) | |
| parent | 0fe33171e450a4d0f1b477ce37f691604456aac0 (diff) | |
| download | rust-630ac0ca723029d548324b00c1494d0d350cab35.tar.gz rust-630ac0ca723029d548324b00c1494d0d350cab35.zip | |
Accept `self.cmp(other).into()` as canonical `PartialOrd` impl (#14573)
`non_canonical_partial_ord_impl` will now recognize two forms of canonical implementations: `Some(self.cmp(other))` and `self.cmp(other).into()`. changelog: [`non_canonical_partial_ord_impl`]: recognize `self.cmp(other).into()` as a canonical implementation of `PartialOrd::partial_cmp()`. Fixes rust-lang/rust-clippy#13640
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
