fix(module_name_repeat): Try to register renamed lint, not valid yet

This commit is contained in:
Klaus Purer
2018-12-16 22:49:46 +01:00
parent 15b9e9f23a
commit 355018d086
2 changed files with 4 additions and 2 deletions

View File

@@ -517,8 +517,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
doc::DOC_MARKDOWN,
empty_enum::EMPTY_ENUM,
enum_glob_use::ENUM_GLOB_USE,
enum_variants::PUB_ENUM_VARIANT_NAMES,
enum_variants::MODULE_NAME_REPEAT,
enum_variants::PUB_ENUM_VARIANT_NAMES,
if_not_else::IF_NOT_ELSE,
infinite_iter::MAYBE_INFINITE_ITER,
items_after_statements::ITEMS_AFTER_STATEMENTS,
@@ -1028,6 +1028,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
unwrap::PANICKING_UNWRAP,
unwrap::UNNECESSARY_UNWRAP,
]);
store.register_renamed("stutter", "module_name_repeat");
}
// only exists to let the dogfood integration test works.