Merge pull request #2483 from kimsnj/infinite_loop

immutable while condition
This commit is contained in:
Oliver Schneider
2018-03-07 08:09:48 +01:00
committed by GitHub
5 changed files with 319 additions and 6 deletions

View File

@@ -521,6 +521,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
loops::UNUSED_COLLECT,
loops::WHILE_LET_LOOP,
loops::WHILE_LET_ON_ITERATOR,
loops::WHILE_IMMUTABLE_CONDITION,
map_clone::MAP_CLONE,
matches::MATCH_AS_REF,
matches::MATCH_BOOL,