lint on unnecessary and plain wrong transmutes

This commit is contained in:
Oliver Schneider
2016-06-28 14:08:08 +02:00
parent 5aea20da7f
commit e06bc37477
7 changed files with 102 additions and 19 deletions

View File

@@ -403,6 +403,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
transmute::CROSSPOINTER_TRANSMUTE,
transmute::TRANSMUTE_PTR_TO_REF,
transmute::USELESS_TRANSMUTE,
transmute::WRONG_TRANSMUTE,
types::ABSURD_EXTREME_COMPARISONS,
types::BOX_VEC,
types::CHAR_LIT_AS_U8,