Skip to content

Commit 7d6946d

Browse files
committed
Auto merge of rust-lang#7485 - camsteffen:add-test-externs, r=flip1995
Add to test third party crates list changelog: none
2 parents 02d70f3 + ea97a5a commit 7d6946d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/compile-test.rs

+10-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,16 @@ fn clippy_driver_path() -> PathBuf {
3434
// as what we manually pass to `cargo` invocation
3535
fn third_party_crates() -> String {
3636
use std::collections::HashMap;
37-
static CRATES: &[&str] = &["serde", "serde_derive", "regex", "clippy_lints", "syn", "quote"];
37+
static CRATES: &[&str] = &[
38+
"clippy_lints",
39+
"clippy_utils",
40+
"if_chain",
41+
"quote",
42+
"regex",
43+
"serde",
44+
"serde_derive",
45+
"syn",
46+
];
3847
let dep_dir = cargo::TARGET_LIB.join("deps");
3948
let mut crates: HashMap<&str, PathBuf> = HashMap::with_capacity(CRATES.len());
4049
for entry in fs::read_dir(dep_dir).unwrap() {

0 commit comments

Comments
 (0)