split pub_enum_variant_names to new lint

This commit is contained in:
Oliver Schneider
2016-12-21 13:30:57 +01:00
parent 647b30884d
commit 90fc9c389f
5 changed files with 52 additions and 8 deletions

View File

@@ -294,6 +294,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
reg.register_lint_group("clippy_pedantic", vec![
booleans::NONMINIMAL_BOOL,
enum_glob_use::ENUM_GLOB_USE,
enum_variants::PUB_ENUM_VARIANT_NAMES,
enum_variants::STUTTER,
if_not_else::IF_NOT_ELSE,
items_after_statements::ITEMS_AFTER_STATEMENTS,