diff --git a/Cargo.toml b/Cargo.toml index 546f180a083..0c478510f25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.191" +version = "0.0.192" authors = [ "Manish Goregaokar ", "Andre Bogus ", @@ -37,7 +37,7 @@ path = "src/driver.rs" [dependencies] # begin automatic update -clippy_lints = { version = "0.0.191", path = "clippy_lints" } +clippy_lints = { version = "0.0.192", path = "clippy_lints" } # end automatic update regex = "0.2" semver = "0.9" diff --git a/README.md b/README.md index 03ee1262a9c..260691faa00 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code. -[There are 248 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html) +[There are 249 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html) We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you: diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index bb29cfd3a01..389bf008056 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clippy_lints" # begin automatic update -version = "0.0.191" +version = "0.0.192" # end automatic update authors = [ "Manish Goregaokar ", diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 187b1fcee82..8b8da64eaea 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -472,7 +472,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { assign_ops::ASSIGN_OP_PATTERN, assign_ops::MISREFACTORED_ASSIGN_OP, attrs::DEPRECATED_SEMVER, - attrs::EMPTY_LINE_AFTER_OUTER_ATTR, attrs::USELESS_ATTRIBUTE, bit_mask::BAD_BIT_MASK, bit_mask::INEFFECTIVE_BIT_MASK, @@ -611,6 +610,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { panic::PANIC_PARAMS, partialeq_ne_impl::PARTIALEQ_NE_IMPL, precedence::PRECEDENCE, + print::PRINT_LITERAL, print::PRINT_WITH_NEWLINE, print::PRINTLN_EMPTY_STRING, ptr::CMP_NULL, @@ -665,7 +665,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { reg.register_lint_group("clippy_style", vec![ assign_ops::ASSIGN_OP_PATTERN, - attrs::EMPTY_LINE_AFTER_OUTER_ATTR, bit_mask::VERBOSE_BIT_MASK, blacklisted_name::BLACKLISTED_NAME, block_in_if_condition::BLOCK_IN_IF_CONDITION_EXPR, @@ -725,6 +724,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { non_expressive_names::MANY_SINGLE_CHAR_NAMES, ok_if_let::IF_LET_SOME_RESULT, panic::PANIC_PARAMS, + print::PRINT_LITERAL, print::PRINT_WITH_NEWLINE, print::PRINTLN_EMPTY_STRING, ptr::CMP_NULL, @@ -870,6 +870,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { ]); reg.register_lint_group("clippy_nursery", vec![ + attrs::EMPTY_LINE_AFTER_OUTER_ATTR, fallible_impl_from::FALLIBLE_IMPL_FROM, mutex_atomic::MUTEX_INTEGER, ranges::RANGE_PLUS_ONE,