Skip to content

Commit aa71a67

Browse files
committed
Please move derive_partial_eq_without_eq to nursery
1 parent 8b1ad17 commit aa71a67

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

clippy_lints/src/derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ declare_clippy_lint! {
191191
/// ```
192192
#[clippy::version = "1.63.0"]
193193
pub DERIVE_PARTIAL_EQ_WITHOUT_EQ,
194-
style,
194+
nursery,
195195
"deriving `PartialEq` on a type that can implement `Eq`, without implementing `Eq`"
196196
}
197197

clippy_lints/src/lib.register_all.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec![
4444
LintId::of(derivable_impls::DERIVABLE_IMPLS),
4545
LintId::of(derive::DERIVE_HASH_XOR_EQ),
4646
LintId::of(derive::DERIVE_ORD_XOR_PARTIAL_ORD),
47-
LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
4847
LintId::of(disallowed_methods::DISALLOWED_METHODS),
4948
LintId::of(disallowed_names::DISALLOWED_NAMES),
5049
LintId::of(disallowed_types::DISALLOWED_TYPES),

clippy_lints/src/lib.register_nursery.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ store.register_group(true, "clippy::nursery", Some("clippy_nursery"), vec![
1919
LintId::of(methods::ITER_WITH_DRAIN),
2020
LintId::of(methods::PATH_BUF_PUSH_OVERWRITE),
2121
LintId::of(missing_const_for_fn::MISSING_CONST_FOR_FN),
22+
LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
2223
LintId::of(mutable_debug_assertion::DEBUG_ASSERT_WITH_MUT_CALL),
2324
LintId::of(mutex_atomic::MUTEX_ATOMIC),
2425
LintId::of(mutex_atomic::MUTEX_INTEGER),

clippy_lints/src/lib.register_style.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ store.register_group(true, "clippy::style", Some("clippy_style"), vec![
1515
LintId::of(default::FIELD_REASSIGN_WITH_DEFAULT),
1616
LintId::of(default_instead_of_iter_empty::DEFAULT_INSTEAD_OF_ITER_EMPTY),
1717
LintId::of(dereference::NEEDLESS_BORROW),
18-
LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
1918
LintId::of(disallowed_methods::DISALLOWED_METHODS),
2019
LintId::of(disallowed_names::DISALLOWED_NAMES),
2120
LintId::of(disallowed_types::DISALLOWED_TYPES),

0 commit comments

Comments
 (0)