rust/src
bors 947516f018 Auto merge of #6130 - Ambroisie:lint-ptr-eq, r=Manishearth
New lint: Recommend using `ptr::eq` when possible

This is based almost entirely on the code available in the previous PR #4596. I merely updated the code to make it compile.

Fixes #3661.

- [ ] I'm not sure about the lint name, but it was the one used in the original PR.
- [X] Added passing UI tests (including committed `.stderr` file)
- [X] `cargo test` passes locally
- [X] Executed `cargo dev update_lints`
- [X] Added lint documentation
- [X] Run `cargo dev fmt`

---

changelog: none
2020-10-09 16:46:09 +00:00
..
lintlist Auto merge of #6130 - Ambroisie:lint-ptr-eq, r=Manishearth 2020-10-09 16:46:09 +00:00
driver.rs Add option to pass a custom codegen backend from a driver 2020-09-27 14:16:42 +02:00
main.rs Merge commit 'c2c07fa9d0' into clippyup 2020-06-23 17:05:22 +02:00