[lints]
table reason
#14521
Labels
A-lints-table
Area: [lints] table
A-manifest
Area: Cargo.toml issues
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Problem
I was playing around with the new rust 1.81 lint reason feature and I noticed that the reason cannot be set in the Cargo.toml [lints] section like it can in rust code:
Proposed Solution
I would expect that I would be able to set the lint reason in the Cargo.toml like so:
I'm unsure what behavior makes sense if the reason is set in both the
Cargo.toml
file and the rust source file. I'm also not sure if this should be a cargo issue, and rust issue, or a clippy issue.Notes
No response
The text was updated successfully, but these errors were encountered: