-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-edition-nextArea: may require a breaking change over an editionArea: may require a breaking change over an editionA-lints-tableArea: [lints] tableArea: [lints] tableS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Description
Today, you can do:
[lints.rust]
unexpected_cfgs = "warn"
unexpected-cfgs = "allow"
and the behavior is unspecified.
After #13913, you can also do
[lints.rust]
unexpected-cfgs = { level = "warn", check-cfg = ['cfg(foo, values("bar"))'] }
and you'll get an "unused manifest key" warning for check-cfg
.
Metadata
Metadata
Assignees
Labels
A-edition-nextArea: may require a breaking change over an editionArea: may require a breaking change over an editionA-lints-tableArea: [lints] tableArea: [lints] tableS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Type
Projects
Status
No status