From ea97a5a5d789b0bf4e4ae984e04280e5c5847b82 Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Fri, 23 Jul 2021 17:00:00 -0500 Subject: [PATCH] Add clippy_utils and if_chain to extern crate list --- tests/compile-test.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index caa19e39c..ec26981bd 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -34,7 +34,16 @@ fn clippy_driver_path() -> PathBuf { // as what we manually pass to `cargo` invocation fn third_party_crates() -> String { use std::collections::HashMap; - static CRATES: &[&str] = &["serde", "serde_derive", "regex", "clippy_lints", "syn", "quote"]; + static CRATES: &[&str] = &[ + "clippy_lints", + "clippy_utils", + "if_chain", + "quote", + "regex", + "serde", + "serde_derive", + "syn", + ]; let dep_dir = cargo::TARGET_LIB.join("deps"); let mut crates: HashMap<&str, PathBuf> = HashMap::with_capacity(CRATES.len()); for entry in fs::read_dir(dep_dir).unwrap() {