Open
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
Type
Projects
Status
No status