Implemented option_option lint

This commit is contained in:
Michael Wright
2017-12-26 07:25:13 +02:00
parent f0d0fc69de
commit 6737bae9b1
5 changed files with 163 additions and 20 deletions

View File

@@ -599,6 +599,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
types::IMPLICIT_HASHER,
types::LET_UNIT_VALUE,
types::LINKEDLIST,
types::OPTION_OPTION,
types::TYPE_COMPLEXITY,
types::UNIT_CMP,
types::UNNECESSARY_CAST,