mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 03:14:11 +00:00
Remove unnecessary imports from tests
This commit is contained in:
parent
1e117938cf
commit
fcc3e7238f
@ -6,7 +6,6 @@ extern crate rustc;
|
||||
#[macro_use]
|
||||
extern crate rustc_session;
|
||||
extern crate rustc_lint;
|
||||
use rustc_lint::{LintArray, LintPass};
|
||||
|
||||
declare_tool_lint! {
|
||||
pub clippy::TEST_LINT,
|
||||
|
@ -1,5 +1,5 @@
|
||||
error: the lint `TEST_LINT_DEFAULT` has the default lint description
|
||||
--> $DIR/default_lint.rs:18:1
|
||||
--> $DIR/default_lint.rs:17:1
|
||||
|
|
||||
LL | / declare_tool_lint! {
|
||||
LL | | pub clippy::TEST_LINT_DEFAULT,
|
||||
|
@ -6,7 +6,7 @@ extern crate rustc;
|
||||
#[macro_use]
|
||||
extern crate rustc_session;
|
||||
extern crate rustc_lint;
|
||||
use rustc_lint::{LintArray, LintPass};
|
||||
use rustc_lint::LintPass;
|
||||
|
||||
declare_tool_lint! {
|
||||
pub clippy::TEST_LINT,
|
||||
|
Loading…
Reference in New Issue
Block a user