[workspace.lints.clippy]
cannot override a category "warn"
with a lint specific "allow"
#12716
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
I like to set categories as
"warn"
or"deny"
, and then allow specific lints. For example"warn"
oncargo
lints, but"allow"
themultiple_crate_versions
.Currently this does not work, and I have to add an override when running Clippy on the command line
Reproducer
I tried this code:
I expected to see this happen:
Warnings for
cargo
lints, but not formultiple_crate_versions
Instead, this happened:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: