We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3bb161 commit d1f2f0cCopy full SHA for d1f2f0c
clippy_lints/src/copy_iterator.rs
@@ -1,7 +1,7 @@
1
use crate::utils::{is_copy, match_path, paths, span_note_and_lint};
2
use rustc::hir::{Item, ItemKind};
3
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
4
-use rustc::{declare_lint, lint_array};
+use rustc::{declare_tool_lint, lint_array};
5
6
/// **What it does:** Checks for types that implement `Copy` as well as
7
/// `Iterator`.
0 commit comments