Skip to content

Commit fcc3e72

Browse files
Remove unnecessary imports from tests
1 parent 1e11793 commit fcc3e72

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/ui/default_lint.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ extern crate rustc;
66
#[macro_use]
77
extern crate rustc_session;
88
extern crate rustc_lint;
9-
use rustc_lint::{LintArray, LintPass};
109

1110
declare_tool_lint! {
1211
pub clippy::TEST_LINT,

tests/ui/default_lint.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: the lint `TEST_LINT_DEFAULT` has the default lint description
2-
--> $DIR/default_lint.rs:18:1
2+
--> $DIR/default_lint.rs:17:1
33
|
44
LL | / declare_tool_lint! {
55
LL | | pub clippy::TEST_LINT_DEFAULT,

tests/ui/lint_without_lint_pass.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern crate rustc;
66
#[macro_use]
77
extern crate rustc_session;
88
extern crate rustc_lint;
9-
use rustc_lint::{LintArray, LintPass};
9+
use rustc_lint::LintPass;
1010

1111
declare_tool_lint! {
1212
pub clippy::TEST_LINT,

0 commit comments

Comments
 (0)