]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/deprecated_lints.rs
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[rust.git] / src / tools / clippy / clippy_lints / src / deprecated_lints.rs
index 6e8ca647dd7ae930e9c7dde397c4ae78e0178314..c17a0e8333058fe91497dc9d67f3c0434481fe38 100644 (file)
@@ -153,5 +153,13 @@ macro_rules! declare_deprecated_lint {
     ///
     /// **Deprecation reason:** Associated-constants are now preferred.
     pub REPLACE_CONSTS,
-    "associated-constants `MIN`/`MAX` of integers are prefer to `{min,max}_value()` and module constants"
+    "associated-constants `MIN`/`MAX` of integers are preferred to `{min,max}_value()` and module constants"
+}
+
+declare_deprecated_lint! {
+    /// **What it does:** Nothing. This lint has been deprecated.
+    ///
+    /// **Deprecation reason:** The regex! macro does not exist anymore.
+    pub REGEX_MACRO,
+    "the regex! macro has been removed from the regex crate in 2018"
 }