You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know where did I see that Clippy can be configured in Cargo.toml, but I don't seem to find it anywhere in the documentation. I also searched for the word priority and it was only mentioned in the prioritization of tasks not related to how the lints are prioritized.
allowed-duplicate-crates is a lint configuration option, so you'll want to put allowed-duplicate-crates = [...] in clippy.toml
This specific part of the RFC (ability to configure lints using the [lints] table) is under "Future possibilities", so that's not possible yet (at least, to my knowledge)
allowed-duplicate-crates was very recently added (merged yesterday) and it's not on nightly clippy yet (I believe the next sync is today or tomorrow, so you need to wait a bit, unless you're building clippy from source and you already have the very latest changes)
Description
I don't know where did I see that Clippy can be configured in
Cargo.toml
, but I don't seem to find it anywhere in the documentation. I also searched for the wordpriority
and it was only mentioned in the prioritization of tasks not related to how the lints are prioritized.uninlined_format_args
cannot be "allowed" in Cargo.toml #12161struct_field_names
lint #12093Version
No response
Additional Labels
No response
The text was updated successfully, but these errors were encountered: