1
Fork 0

Categorize all the lints!

This commit is contained in:
Oliver Schneider 2018-03-28 15:24:26 +02:00
parent ef9fdbb8a9
commit d6344c47e3
No known key found for this signature in database
GPG key ID: 1D5CB4FC597C3004
107 changed files with 707 additions and 715 deletions

View file

@ -16,9 +16,9 @@ use utils::span_lint;
/// ```rust
/// my_vec.push(&mut value)
/// ```
declare_lint! {
declare_clippy_lint! {
pub UNNECESSARY_MUT_PASSED,
Warn,
style,
"an argument passed as a mutable reference although the callee only demands an \
immutable reference"
}