about summary refs log tree commit diff
path: root/clippy_dev/src/update_lints.rs
diff options
context:
space:
mode:
authornsunderland1 <sunderland.nicholas@protonmail.com>2022-05-06 00:10:11 -0700
committernsunderland1 <sunderland.nicholas@protonmail.com>2022-05-09 22:13:39 -0700
commitfe84ff336055412f0df8a2e625eaf46c6701e574 (patch)
treed11078a4dd396ce2801b7c20b812e758b37fa4ca /clippy_dev/src/update_lints.rs
parent77effb7bb2667a71dd9db8514cd20bbfc2c6f241 (diff)
downloadrust-fe84ff336055412f0df8a2e625eaf46c6701e574.tar.gz
rust-fe84ff336055412f0df8a2e625eaf46c6701e574.zip
New lint: [`derive_partial_eq_without_eq`]
Diffstat (limited to 'clippy_dev/src/update_lints.rs')
-rw-r--r--clippy_dev/src/update_lints.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs
index 1a6a4336da2..e9cc4f29943 100644
--- a/clippy_dev/src/update_lints.rs
+++ b/clippy_dev/src/update_lints.rs
@@ -17,7 +17,7 @@ const GENERATED_FILE_COMMENT: &str = "// This file was generated by `cargo dev u
 
 const DOCS_LINK: &str = "https://rust-lang.github.io/rust-clippy/master/index.html";
 
-#[derive(Clone, Copy, PartialEq)]
+#[derive(Clone, Copy, PartialEq, Eq)]
 pub enum UpdateMode {
     Check,
     Change,
@@ -372,7 +372,7 @@ fn exit_with_failure() {
 }
 
 /// Lint data parsed from the Clippy source code.
-#[derive(Clone, PartialEq, Debug)]
+#[derive(Clone, PartialEq, Eq, Debug)]
 struct Lint {
     name: String,
     group: String,
@@ -414,7 +414,7 @@ impl Lint {
     }
 }
 
-#[derive(Clone, PartialEq, Debug)]
+#[derive(Clone, PartialEq, Eq, Debug)]
 struct DeprecatedLint {
     name: String,
     reason: String,