]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/unit_hash.rs
Rollup merge of #90741 - mbartlett21:patch-4, r=dtolnay
[rust.git] / src / tools / clippy / clippy_lints / src / unit_hash.rs
index a3a3f2d41c7323354af7c50b4b7b46ffecd32879..26b4e0f58a870beabd074916fad606a8ceb862da 100644 (file)
@@ -39,6 +39,7 @@
     ///        WithValue(x) => x.hash(&mut state),
     /// }
     /// ```
+    #[clippy::version = "1.58.0"]
     pub UNIT_HASH,
     correctness,
     "hashing a unit value, which does nothing"