]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/eq_op.rs
Auto merge of #7948 - 5225225:castlosslessbool, r=llogiq
[rust.git] / clippy_lints / src / eq_op.rs
index c034c849b55a09541ea324da1eb1b20617c2417b..101234605273393b13d7754d8ff28e0e1ee37725 100644 (file)
@@ -34,6 +34,7 @@
     /// # let b = 4;
     /// assert_eq!(a, a);
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub EQ_OP,
     correctness,
     "equal operands on both sides of a comparison or bitwise combination (e.g., `x == x`)"
@@ -59,6 +60,7 @@
     /// // Good
     /// x == *y
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub OP_REF,
     style,
     "taking a reference to satisfy the type constraints on `==`"