]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/arithmetic.rs
Rollup merge of #90741 - mbartlett21:patch-4, r=dtolnay
[rust.git] / src / tools / clippy / clippy_lints / src / arithmetic.rs
index 36fe7b7a8675441943a430129f70e00f90bc875c..e0c1d6ab6e12235577859c606f9e572dcbaf9f0f 100644 (file)
@@ -25,6 +25,7 @@
     /// # let a = 0;
     /// a + 1;
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub INTEGER_ARITHMETIC,
     restriction,
     "any integer arithmetic expression which could overflow or panic"
@@ -43,6 +44,7 @@
     /// # let a = 0.0;
     /// a + 1.0;
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub FLOAT_ARITHMETIC,
     restriction,
     "any floating-point arithmetic statement"