This commit is contained in:
Manish Goregaokar 2016-02-29 16:49:32 +05:30
parent e256055dc4
commit bd45cfd273
18 changed files with 137 additions and 203 deletions

View file

@ -1,10 +1,8 @@
use rustc::lint::*;
use rustc_front::hir::*;
use utils::{CLONE_PATH, OPTION_PATH};
use utils::{
is_adjusted, match_path, match_trait_method, match_type, snippet, span_help_and_lint,
walk_ptrs_ty, walk_ptrs_ty_depth
};
use utils::{is_adjusted, match_path, match_trait_method, match_type, snippet, span_help_and_lint, walk_ptrs_ty,
walk_ptrs_ty_depth};
/// **What it does:** This lint checks for mapping clone() over an iterator.
///