Skip to content

Commit 92dcadd

Browse files
Henri Lunnikivihegza
authored andcommitted
cargo dev update_lints
1 parent a80176e commit 92dcadd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

clippy_lints/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12261226
LintId::of(&eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
12271227
LintId::of(&excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),
12281228
LintId::of(&excessive_bools::STRUCT_EXCESSIVE_BOOLS),
1229-
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
12301229
LintId::of(&functions::MUST_USE_CANDIDATE),
12311230
LintId::of(&functions::TOO_MANY_LINES),
12321231
LintId::of(&if_not_else::IF_NOT_ELSE),
@@ -1347,6 +1346,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13471346
LintId::of(&eval_order_dependence::DIVERGING_SUB_EXPRESSION),
13481347
LintId::of(&eval_order_dependence::EVAL_ORDER_DEPENDENCE),
13491348
LintId::of(&explicit_write::EXPLICIT_WRITE),
1349+
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
13501350
LintId::of(&float_equality_without_abs::FLOAT_EQUALITY_WITHOUT_ABS),
13511351
LintId::of(&float_literal::EXCESSIVE_PRECISION),
13521352
LintId::of(&format::USELESS_FORMAT),
@@ -1590,6 +1590,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15901590
LintId::of(&enum_variants::MODULE_INCEPTION),
15911591
LintId::of(&eq_op::OP_REF),
15921592
LintId::of(&eta_reduction::REDUNDANT_CLOSURE),
1593+
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
15931594
LintId::of(&float_literal::EXCESSIVE_PRECISION),
15941595
LintId::of(&formatting::SUSPICIOUS_ASSIGNMENT_FORMATTING),
15951596
LintId::of(&formatting::SUSPICIOUS_ELSE_FORMATTING),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ vec![
629629
},
630630
Lint {
631631
name: "field_reassign_with_default",
632-
group: "pedantic",
632+
group: "style",
633633
desc: "binding initialized with Default should have its fields set in the initializer",
634634
deprecation: None,
635635
module: "field_reassign_with_default",

0 commit comments

Comments
 (0)