mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
Remove unnecessary imports from new_lint
tool
This commit is contained in:
parent
63f818e67d
commit
6b4cae18dd
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ fn get_lint_file_contents(
|
|||
context_import: &str,
|
||||
) -> String {
|
||||
format!(
|
||||
"use rustc_lint::{{LintArray, LintPass, {type}, {context_import}}};
|
||||
"use rustc_lint::{{{type}, {context_import}}};
|
||||
use rustc_session::{{declare_lint_pass, declare_tool_lint}};
|
||||
{pass_import}
|
||||
|
||||
|
|
Loading…
Reference in a new issue