Categorize all the lints!

This commit is contained in:
Oliver Schneider
2018-03-28 15:24:26 +02:00
parent ef9fdbb8a9
commit d6344c47e3
107 changed files with 707 additions and 715 deletions

View File

@@ -21,9 +21,9 @@ use utils::{get_trait_def_id, span_lint};
/// }
/// }
/// ```
declare_lint! {
declare_clippy_lint! {
pub SUSPICIOUS_ARITHMETIC_IMPL,
Warn,
correctness,
"suspicious use of operators in impl of arithmetic trait"
}
@@ -42,9 +42,9 @@ declare_lint! {
/// }
/// }
/// ```
declare_lint! {
declare_clippy_lint! {
pub SUSPICIOUS_OP_ASSIGN_IMPL,
Warn,
correctness,
"suspicious use of operators in impl of OpAssign trait"
}