New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting lints.workspace
as false
#13821
Comments
@rustbot label +A-lints-table |
Posted on rust-lang/rust-clippy#11933 with a framing that might not need this. If we went down this route, we'd need to decide if we should mirror this in all of the rest of workspace inheritance. |
I have actually tried setting workspace to false, before knowing about the lint idea. |
The following statements make me suspect its best if we don't support From rust-lang/rust-clippy#11933 (comment)
From #13821 (comment)
|
We could allow it and it would ignore it. However, all of workspace inheritance works the same way and has the same behavior of disallowing |
Problem
I expect to be able to set lints.workspace to false to explicitly opt out of the workspace lints.
Currently this is not allowed.
It would also be helpful for a potential lint like rust-lang/rust-clippy#11933.
Proposed Solution
Treat
lints.workspace = false
the same as not setting it at all.Notes
No response
The text was updated successfully, but these errors were encountered: