about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-09 16:46:09 +0000
committerbors <bors@rust-lang.org>2020-10-09 16:46:09 +0000
commit947516f0184a7845577de1f0162f172b89965692 (patch)
tree61b5a9a9d3bf857ee0188b1d8ac168ee49eeb27d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentfcf22d90bb9087f03e60c03ccccdc2f95668bf88 (diff)
parent6edde811b5437f926c26b1b844acd60e3dd0a0c9 (diff)
downloadrust-947516f0184a7845577de1f0162f172b89965692.tar.gz
rust-947516f0184a7845577de1f0162f172b89965692.zip
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions