Skip to content

Commit 445d4fb

Browse files
Henri Lunnikivihegza
authored andcommitted
cargo dev update_lints
1 parent 5423cac commit 445d4fb

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
@@ -1209,7 +1209,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12091209
LintId::of(&eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
12101210
LintId::of(&excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),
12111211
LintId::of(&excessive_bools::STRUCT_EXCESSIVE_BOOLS),
1212-
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
12131212
LintId::of(&functions::MUST_USE_CANDIDATE),
12141213
LintId::of(&functions::TOO_MANY_LINES),
12151214
LintId::of(&if_not_else::IF_NOT_ELSE),
@@ -1325,6 +1324,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13251324
LintId::of(&eval_order_dependence::DIVERGING_SUB_EXPRESSION),
13261325
LintId::of(&eval_order_dependence::EVAL_ORDER_DEPENDENCE),
13271326
LintId::of(&explicit_write::EXPLICIT_WRITE),
1327+
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
13281328
LintId::of(&float_equality_without_abs::FLOAT_EQUALITY_WITHOUT_ABS),
13291329
LintId::of(&float_literal::EXCESSIVE_PRECISION),
13301330
LintId::of(&format::USELESS_FORMAT),
@@ -1562,6 +1562,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15621562
LintId::of(&enum_variants::MODULE_INCEPTION),
15631563
LintId::of(&eq_op::OP_REF),
15641564
LintId::of(&eta_reduction::REDUNDANT_CLOSURE),
1565+
LintId::of(&field_reassign_with_default::FIELD_REASSIGN_WITH_DEFAULT),
15651566
LintId::of(&float_literal::EXCESSIVE_PRECISION),
15661567
LintId::of(&formatting::SUSPICIOUS_ASSIGNMENT_FORMATTING),
15671568
LintId::of(&formatting::SUSPICIOUS_ELSE_FORMATTING),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ vec![
615615
},
616616
Lint {
617617
name: "field_reassign_with_default",
618-
group: "pedantic",
618+
group: "style",
619619
desc: "binding initialized with Default should have its fields set in the initializer",
620620
deprecation: None,
621621
module: "field_reassign_with_default",

0 commit comments

Comments
 (0)