Skip to content

Commit 93945a5

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

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
@@ -6,6 +6,7 @@ store.register_group(true, "clippy::nursery", Some("clippy_nursery"), vec![
66
LintId::of(attrs::EMPTY_LINE_AFTER_OUTER_ATTR),
77
LintId::of(cognitive_complexity::COGNITIVE_COMPLEXITY),
88
LintId::of(copies::BRANCHES_SHARING_CODE),
9+
LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
910
LintId::of(equatable_if_let::EQUATABLE_IF_LET),
1011
LintId::of(fallible_impl_from::FALLIBLE_IMPL_FROM),
1112
LintId::of(floating_point_arithmetic::IMPRECISE_FLOPS),

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)