]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/int_plus_one.rs
Rollup merge of #90741 - mbartlett21:patch-4, r=dtolnay
[rust.git] / src / tools / clippy / clippy_lints / src / int_plus_one.rs
index 6850e0c34767cb0864a002b5ce498c3cc157c5a8..3716d36ad88168a2fb7eb84f1a02484981c3d341 100644 (file)
@@ -28,6 +28,7 @@
     /// # let y = 1;
     /// if x > y {}
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub INT_PLUS_ONE,
     complexity,
     "instead of using `x >= y + 1`, use `x > y`"