Change empty_enum_variants_with_brackets
applicability to MaybeIncorrect
This commit is contained in:
parent
1ee9993a96
commit
5f1718810f
@ -97,7 +97,7 @@ fn check_variant(&mut self, cx: &EarlyContext<'_>, variant: &Variant) {
|
||||
span_after_ident,
|
||||
"remove the brackets",
|
||||
"",
|
||||
Applicability::MachineApplicable,
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user