about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-02-05 22:00:19 +0700
committerLzu Tao <taolzu@gmail.com>2020-02-05 22:00:19 +0700
commit3485d221391ef3bc16d2610522b14f6e6aa3cbc5 (patch)
tree8288c9a902f1ff257ced2057f8b5ba7e29c73ffa
parent47abd0a217a232a2007484cacd48bfb766bd23fc (diff)
downloadrust-3485d221391ef3bc16d2610522b14f6e6aa3cbc5.tar.gz
rust-3485d221391ef3bc16d2610522b14f6e6aa3cbc5.zip
Add `serde_derive` to the need-to-be-disambiguated-crates list
-rw-r--r--tests/cargo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cargo/mod.rs b/tests/cargo/mod.rs
index 080c5aa8977..5b2de05cb17 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)