Auto merge of #12179 - y21:issue12176, r=dswij
[`multiple_crate_versions`]: add a configuration option for allowed duplicate crates Closes #12176 changelog: [`multiple_crate_versions`]: add a configuration option for allowed duplicate crates
This commit is contained in:
commit
76a75bf145
10 changed files with 45 additions and 3 deletions
|
|
@ -0,0 +1,10 @@
|
|||
[package]
|
||||
name = "multiple_crate_versions"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
winapi = "0.2"
|
||||
ansi_term = "=0.11.0"
|
||||
|
|
@ -0,0 +1 @@
|
|||
allowed-duplicate-crates = ["winapi"]
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#![warn(clippy::multiple_crate_versions)]
|
||||
|
||||
fn main() {}
|
||||
|
|
@ -11,6 +11,7 @@ error: error reading Clippy's configuration file: unknown field `foobar`, expect
|
|||
allow-private-module-inception
|
||||
allow-unwrap-in-tests
|
||||
allowed-dotfiles
|
||||
allowed-duplicate-crates
|
||||
allowed-idents-below-min-chars
|
||||
allowed-scripts
|
||||
arithmetic-side-effects-allowed
|
||||
|
|
@ -87,6 +88,7 @@ error: error reading Clippy's configuration file: unknown field `barfoo`, expect
|
|||
allow-private-module-inception
|
||||
allow-unwrap-in-tests
|
||||
allowed-dotfiles
|
||||
allowed-duplicate-crates
|
||||
allowed-idents-below-min-chars
|
||||
allowed-scripts
|
||||
arithmetic-side-effects-allowed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue