diff options
| author | bors <bors@rust-lang.org> | 2022-08-09 00:12:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-09 00:12:29 +0000 |
| commit | 3af9072bc6ecd429f9101301166331dec21a1300 (patch) | |
| tree | 5b81a197559f48ead486a9df806141d74b04d310 /compiler/rustc_mir_transform/src | |
| parent | 8f390610a521b745b2fb84945b258371983fed49 (diff) | |
| parent | 657b0da912f0281aa11fe61df7fa273bf9be1d5b (diff) | |
| download | rust-3af9072bc6ecd429f9101301166331dec21a1300.tar.gz rust-3af9072bc6ecd429f9101301166331dec21a1300.zip | |
Auto merge of #9288 - lukaslueg:partialeqnone, r=Jarcho
Add partialeq_to_none lint Initial implementation of #9275, adding lint `partialeq_to_none`. This is my first time working on `clippy`, so please review carefully. I'm unsure especially about the `Sugg`, as it covers the entire `BinOp`, instead of just covering one of the sides and the operator (see the multi-line example). I was unsure if pinpointing the suggestion wouldn't be brittle... changelog: [`PARTIALEQ_TO_NONE`]: Initial commit
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
