merged upstream master
This commit is contained in:
commit
7f5891184d
7 changed files with 152 additions and 5 deletions
|
@ -13,7 +13,7 @@ use syntax::ast::*;
|
|||
use misc::walk_ty;
|
||||
|
||||
declare_lint!(pub LEN_ZERO, Warn,
|
||||
"Warn on usage of double-mut refs, e.g. '&mut &mut ...'");
|
||||
"Warn when .is_empty() could be used instead of checking .len()");
|
||||
|
||||
declare_lint!(pub LEN_WITHOUT_IS_EMPTY, Warn,
|
||||
"Warn on traits and impls that have .len() but not .is_empty()");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue