From 3485d221391ef3bc16d2610522b14f6e6aa3cbc5 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Wed, 5 Feb 2020 22:00:19 +0700 Subject: [PATCH] Add `serde_derive` to the need-to-be-disambiguated-crates list --- tests/cargo/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cargo/mod.rs b/tests/cargo/mod.rs index 080c5aa89771e..5b2de05cb1741 100644 --- a/tests/cargo/mod.rs +++ b/tests/cargo/mod.rs @@ -52,7 +52,7 @@ impl BuildInfo { // `--extern dep=path`. // See https://github.com/rust-lang/rust-clippy/issues/4015. pub fn third_party_crates() -> Vec<(&'static str, PathBuf)> { - const THIRD_PARTY_CRATES: [&str; 3] = ["serde", "regex", "clippy_lints"]; + const THIRD_PARTY_CRATES: [&str; 4] = ["serde", "serde_derive", "regex", "clippy_lints"]; let cargo = env::var_os("CARGO"); let cargo = cargo.as_deref().unwrap_or_else(|| OsStr::new("cargo")); let output = Command::new(cargo)