about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-08 18:22:54 +0000
committerbors <bors@rust-lang.org>2023-07-08 18:22:54 +0000
commite5db198fd3f7662e23c5b136341f52390073a3b5 (patch)
tree4bba7ab2cf61bd15db6121835f149832b20c3e6b /compiler/rustc_mir_transform/src/coverage/debug.rs
parent3a1fc266654b9b56c07554eff3d5956bb84d8ef5 (diff)
parenta5dfb68491505d8ad2aceb8cb14e1bd7272dcc2a (diff)
downloadrust-e5db198fd3f7662e23c5b136341f52390073a3b5.tar.gz
rust-e5db198fd3f7662e23c5b136341f52390073a3b5.zip
Auto merge of #10788 - Centri3:duplicate_manual_partial_ord_impl, r=xFrednet,blyxyas
New lint [`manual_partial_ord_and_ord_impl`]

Lints when both `PartialOrd` and `Ord` are manually implemented yet the body of `PartialOrd::partial_cmp` isn't `Some(self.cmp(<other>))`.

This is in `correctness` currently but I'm ok with elsewhere.

Closes #10744

---

changelog: new lint [`needless_partial_ord_impl`]
[#10788](https://github.com/rust-lang/rust-clippy/pull/10788)
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions