diff options
| author | bors <bors@rust-lang.org> | 2024-02-16 10:24:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-16 10:24:15 +0000 |
| commit | 32c006ca9443f6963cb7d36e3f4b93497afb32e9 (patch) | |
| tree | 4e2b963e0877855faff58dc6ee1c4989c242ec09 /clippy_lints/src/declared_lints.rs | |
| parent | 61daf674eaf17f3b504c51f01b4ee63fac47dfcf (diff) | |
| parent | f4a3db8e4e40c075bce4a4e141becd41c2e0b1fa (diff) | |
| download | rust-32c006ca9443f6963cb7d36e3f4b93497afb32e9.tar.gz rust-32c006ca9443f6963cb7d36e3f4b93497afb32e9.zip | |
Auto merge of #12292 - GuillaumeGomez:DEPRECATED_CLIPPY_CFG_ATTR, r=flip1995
Add new lint `DEPRECATED_CLIPPY_CFG_ATTR` As discussed [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Is.20.60--cfg.20feature.3Dcargo-clippy.60.20deprecated.20or.20can.20it.20be.3F). This lint suggests to replace `feature = "cargo-clippy"` with `clippy`. r? `@flip1995` changelog: Add new lint `DEPRECATED_CLIPPY_CFG_ATTR`
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index 0a5baabd973..60744fee34d 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -51,6 +51,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[ crate::attrs::ALLOW_ATTRIBUTES_WITHOUT_REASON_INFO, crate::attrs::BLANKET_CLIPPY_RESTRICTION_LINTS_INFO, crate::attrs::DEPRECATED_CFG_ATTR_INFO, + crate::attrs::DEPRECATED_CLIPPY_CFG_ATTR_INFO, crate::attrs::DEPRECATED_SEMVER_INFO, crate::attrs::EMPTY_LINE_AFTER_DOC_COMMENTS_INFO, crate::attrs::EMPTY_LINE_AFTER_OUTER_ATTR_INFO, |
