diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 8b8ffe86f19..005c2ce33f9 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -9,7 +9,7 @@ #![feature(test)] -extern crate compiletest_rs as compiletest; +use compiletest_rs as compiletest; extern crate test; use std::env::{set_var, var}; diff --git a/tests/matches.rs b/tests/matches.rs index 00e2f043cbb..7d099665259 100644 --- a/tests/matches.rs +++ b/tests/matches.rs @@ -9,7 +9,6 @@ #![feature(rustc_private)] -extern crate clippy_lints; extern crate syntax; use std::collections::Bound; diff --git a/tests/needless_continue_helpers.rs b/tests/needless_continue_helpers.rs index 8237ac437ba..e0dcd035c58 100644 --- a/tests/needless_continue_helpers.rs +++ b/tests/needless_continue_helpers.rs @@ -10,7 +10,6 @@ // Tests for the various helper functions used by the needless_continue // lint that don't belong in utils. -extern crate clippy_lints; use clippy_lints::needless_continue::{erode_block, erode_from_back, erode_from_front}; #[test] diff --git a/tests/versioncheck.rs b/tests/versioncheck.rs index cdf97f75ec6..945e35f4ebf 100644 --- a/tests/versioncheck.rs +++ b/tests/versioncheck.rs @@ -7,8 +7,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -extern crate cargo_metadata; -extern crate semver; use semver::VersionReq; #[test]