diff options
| author | Bruno BELANYI <bruno@belanyi.fr> | 2020-10-07 11:54:00 +0200 |
|---|---|---|
| committer | Bruno BELANYI <bruno@belanyi.fr> | 2020-10-07 11:54:09 +0200 |
| commit | aa7c42f75668bc514baf0a64f31771353c3af6cb (patch) | |
| tree | 180f0b076d9c3207c862a1e56fdcf7aad3baae11 | |
| parent | 5bad9175fb363917ffee2c2da7223e96daa2f5ac (diff) | |
| download | rust-aa7c42f75668bc514baf0a64f31771353c3af6cb.tar.gz rust-aa7c42f75668bc514baf0a64f31771353c3af6cb.zip | |
fixup! New lint: Recommend using `ptr::eq` when possible
Add missing modified files.
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/lintlist/mod.rs | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 617bf32f463..552a0e96ceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1774,6 +1774,7 @@ Released 2018-09-13 [`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline [`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg +[`ptr_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq [`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names [`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 0dba5a71c50..3cba9867600 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -1845,6 +1845,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec