Passing --cap-lints to cargo itself #7530
Labels
A-lints
Area: rustc lint configuration
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Hi all, I just found out about capping lint levels and it seems like it could be a highly useful feature for developers working on code which has the deny(warnings) anti-pattern enabled. However, while
rustc
supports this flag,cargo
does not appear to, and I am wondering whether this is intentional or just that no one's suggested it yet.It would be groovy if the various cargo subcommands like
build
,run
,test
,doc
, and so on supported this flag.The text was updated successfully, but these errors were encountered: