Skip to content

Commit 2d352f4

Browse files
Fix rustc lint import paths generated by new_lint
1 parent 8b72b72 commit 2d352f4

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
@@ -132,7 +132,7 @@ fn get_lint_file_contents(
132132
context_import: &str,
133133
) -> String {
134134
format!(
135-
"use rustc::lint::{{LintArray, LintPass, {type}, {context_import}}};
135+
"use rustc_lint::{{LintArray, LintPass, {type}, {context_import}}};
136136
use rustc_session::{{declare_lint_pass, declare_tool_lint}};
137137
{pass_import}
138138

0 commit comments

Comments
 (0)