mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 22:02:55 +00:00
Add serde_derive
to the need-to-be-disambiguated-crates list
This commit is contained in:
parent
47abd0a217
commit
3485d22139
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ impl BuildInfo {
|
||||||
// `--extern dep=path`.
|
// `--extern dep=path`.
|
||||||
// See https://github.com/rust-lang/rust-clippy/issues/4015.
|
// See https://github.com/rust-lang/rust-clippy/issues/4015.
|
||||||
pub fn third_party_crates() -> Vec<(&'static str, PathBuf)> {
|
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 = env::var_os("CARGO");
|
||||||
let cargo = cargo.as_deref().unwrap_or_else(|| OsStr::new("cargo"));
|
let cargo = cargo.as_deref().unwrap_or_else(|| OsStr::new("cargo"));
|
||||||
let output = Command::new(cargo)
|
let output = Command::new(cargo)
|
||||||
|
|
Loading…
Reference in a new issue