Add a new not_unsafe_ptr_arg_deref lint

This commit is contained in:
mcarton
2016-06-07 16:55:55 +02:00
committed by Manish Goregaokar
parent d243d686fd
commit 7781f1d7c5
6 changed files with 174 additions and 17 deletions

View File

@@ -322,6 +322,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
format::USELESS_FORMAT,
formatting::SUSPICIOUS_ASSIGNMENT_FORMATTING,
formatting::SUSPICIOUS_ELSE_FORMATTING,
functions::NOT_UNSAFE_PTR_ARG_DEREF,
functions::TOO_MANY_ARGUMENTS,
identity_op::IDENTITY_OP,
len_zero::LEN_WITHOUT_IS_EMPTY,