This PR: - lints more case of raw pointer comparisons - do not omit the named function to raw pointer conversion before suggesting - trigger the `ptr_eq` lint only if `cmp_null` doesn't trigger first, as this is a more specialized version - lints against `!=` in addition to `==` The `ptr_eq` code has been moved from under `operators` to `ptr.rs`, in order to benefit from factorization. Fix #14337 changelog: [`ptr_eq`]: handle more cases |
||
|---|---|---|
| .. | ||
| test_utils | ||
| ui | ||
| ui-cargo | ||
| ui-internal | ||
| ui-toml | ||
| workspace_test | ||
| check-fmt.rs | ||
| clippy.toml | ||
| compile-test.rs | ||
| config-metadata.rs | ||
| dogfood.rs | ||
| headers.rs | ||
| integration.rs | ||
| lint_message_convention.rs | ||
| missing-test-files.rs | ||
| versioncheck.rs | ||
| workspace.rs | ||