Should unknown lint tools be a warning? #12496
Labels
A-lints-table
Area: [lints] table
C-bug
Category: bug
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
When a new tool is introduced to the lints table, past versions of cargo will generate an error about an unknown tool. This can make it difficult to adopt new tools since it sets a floor on which Rust version is allowed. I'm wondering if it makes sense to treat unknown tools as a warning. Other tables in the manifest usually treat these as warnings (like
[package.foo]
is a warning).Steps
Have a manifest with something like:
This generates an error:
Possible Solution(s)
Generate a warning instead of an error for unknown tools.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: