disallow lint attributes on use and extern crate items

This commit is contained in:
Oliver Schneider
2016-08-17 11:36:04 +02:00
parent ac16695757
commit 3ab6ad59c4
5 changed files with 58 additions and 3 deletions

View File

@@ -308,6 +308,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
assign_ops::MISREFACTORED_ASSIGN_OP,
attrs::DEPRECATED_SEMVER,
attrs::INLINE_ALWAYS,
attrs::USELESS_ATTRIBUTE,
bit_mask::BAD_BIT_MASK,
bit_mask::INEFFECTIVE_BIT_MASK,
blacklisted_name::BLACKLISTED_NAME,