Remove unnecessary imports from new_lint tool

This commit is contained in:
Krishna Sai Veera Reddy 2020-02-10 19:24:01 -08:00
parent 63f818e67d
commit 6b4cae18dd

View file

@ -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}