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.
Today, you can do:
and the behavior is unspecified.
After #13913, you can also do
and you'll get an "unused manifest key" warning for
check-cfg.