mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Remove unnecessary imports from new_lint
tool
This commit is contained in:
parent
63f818e67d
commit
6b4cae18dd
@ -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 New Issue
Block a user