]> git.lizzy.rs Git - rust.git/commit
Auto merge of #7315 - DevinR528:disallowed-ty, r=giraffate
authorbors <bors@rust-lang.org>
Thu, 10 Jun 2021 00:30:36 +0000 (00:30 +0000)
committerbors <bors@rust-lang.org>
Thu, 10 Jun 2021 00:30:36 +0000 (00:30 +0000)
commitc4636abe7270a76b0fe85a1b66be3d646607313d
tree37d0b357f3b5082c9777bb10424bbaf938047195
parent2464ee92840f8d081bb2f546020581e73ab789fa
parentea45e2a9cf13b59e6366a6cacb7f0088f9cadeda
Auto merge of #7315 - DevinR528:disallowed-ty, r=giraffate

Add disallowed_type lint, this adds a field to the conf struct

Fixes #7277

changelog: Add ``[`disallowed_type`]`` a lint that can enforce banning types specified in the config.
clippy_lints/src/lib.rs
clippy_lints/src/utils/conf.rs