Remove unnecessary imports from tests

This commit is contained in:
Krishna Sai Veera Reddy 2020-02-11 06:20:47 -08:00
parent 1e117938cf
commit fcc3e7238f
3 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,6 @@ extern crate rustc;
#[macro_use] #[macro_use]
extern crate rustc_session; extern crate rustc_session;
extern crate rustc_lint; extern crate rustc_lint;
use rustc_lint::{LintArray, LintPass};
declare_tool_lint! { declare_tool_lint! {
pub clippy::TEST_LINT, pub clippy::TEST_LINT,

View file

@ -1,5 +1,5 @@
error: the lint `TEST_LINT_DEFAULT` has the default lint description 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 | / declare_tool_lint! {
LL | | pub clippy::TEST_LINT_DEFAULT, LL | | pub clippy::TEST_LINT_DEFAULT,

View file

@ -6,7 +6,7 @@ extern crate rustc;
#[macro_use] #[macro_use]
extern crate rustc_session; extern crate rustc_session;
extern crate rustc_lint; extern crate rustc_lint;
use rustc_lint::{LintArray, LintPass}; use rustc_lint::LintPass;
declare_tool_lint! { declare_tool_lint! {
pub clippy::TEST_LINT, pub clippy::TEST_LINT,