]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/deprecated_lints.rs
ast/hir: Rename field-related structures
[rust.git] / clippy_lints / src / deprecated_lints.rs
index 47b3cc3ad3038b5d469ee24ff7d1024ad3921a2c..89088c533ed50b305a6f4e0b0cbe4114921fe81d 100644 (file)
@@ -179,3 +179,12 @@ macro_rules! declare_deprecated_lint {
     pub UNKNOWN_CLIPPY_LINTS,
     "this lint has been integrated into the `unknown_lints` rustc lint"
 }
+
+declare_deprecated_lint! {
+    /// **What it does:** Nothing. This lint has been deprecated.
+    ///
+    /// **Deprecation reason:** This lint has been replaced by `manual_find_map`, a
+    /// more specific lint.
+    pub FIND_MAP,
+    "this lint has been replaced by `manual_find_map`, a more specific lint"
+}