Skip to content

Commit 6b4cae1

Browse files
Remove unnecessary imports from new_lint tool
1 parent 63f818e commit 6b4cae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_dev/src/new_lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fn get_lint_file_contents(
117117
context_import: &str,
118118
) -> String {
119119
format!(
120-
"use rustc_lint::{{LintArray, LintPass, {type}, {context_import}}};
120+
"use rustc_lint::{{{type}, {context_import}}};
121121
use rustc_session::{{declare_lint_pass, declare_tool_lint}};
122122
{pass_import}
123123

0 commit comments

Comments
 (0)