-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-lintsArea: rustc lint configurationArea: rustc lint configurationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-check
Description
There are a lot of compiler warnings that are noisy and useless during development, such as dead_code. Unfortunately, cargo check does not have any way of disabling these warnings. There needs to be a way to disable specific warnigns when running cargo check.
So far, the only workaround I've found is export RUSTFLAGS='-A dead_code'
, which is ugly and undiscoverable, and you have to remember to undo it when you are ready for release.
ypyf, FluorineDog, cryptoquick, jkugelman, jyn514 and 61 more
Metadata
Metadata
Assignees
Labels
A-lintsArea: rustc lint configurationArea: rustc lint configurationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-check