diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-07-23 17:00:00 -0500 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-07-23 17:00:00 -0500 |
| commit | ea97a5a5d789b0bf4e4ae984e04280e5c5847b82 (patch) | |
| tree | 971ffacdaedb05f6b27a8802c99d50a5c572d9a3 | |
| parent | 610381455cb78a31695b94bc45ee580cf0cd7b38 (diff) | |
| download | rust-ea97a5a5d789b0bf4e4ae984e04280e5c5847b82.tar.gz rust-ea97a5a5d789b0bf4e4ae984e04280e5c5847b82.zip | |
Add clippy_utils and if_chain to extern crate list
| -rw-r--r-- | tests/compile-test.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs index caa19e39ccd..ec26981bd00 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() { |
