Add PRINTLN_EMPTY_STRING lint.

This commit is contained in:
Malo Jaffré
2017-10-20 16:45:17 +02:00
parent 4d9ed8beef
commit 22f3ca0e2c
4 changed files with 78 additions and 16 deletions

View File

@@ -530,6 +530,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
partialeq_ne_impl::PARTIALEQ_NE_IMPL,
precedence::PRECEDENCE,
print::PRINT_WITH_NEWLINE,
print::PRINTLN_EMPTY_STRING,
ptr::CMP_NULL,
ptr::MUT_FROM_REF,
ptr::PTR_ARG,