From e63e22d1a9d1dfc6c92fd373a75df26908dc5870 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sun, 9 Feb 2020 12:00:49 +0700 Subject: [PATCH] Fix error E0460 when compiled on Rustc repo --- tests/compile-test.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 84ac935a2011..de2cf6d7873f 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -37,7 +37,6 @@ fn clippy_driver_path() -> PathBuf { // Because it would force-rebuild if the options passed to `build` command is not the same // as what we manually pass to `cargo` invocation fn third_party_crates() -> String { - use std::collections::hash_map::Entry::Vacant; use std::collections::HashMap; static CRATES: &[&str] = &["serde", "serde_derive", "regex", "clippy_lints"]; let dep_dir = cargo::TARGET_LIB.join("deps");