check for borrowed box types

This commit is contained in:
scott-linder
2017-01-31 23:19:33 -05:00
parent 55cb63adfe
commit 711cad188a
5 changed files with 53 additions and 3 deletions

View File

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