rust/compiler/rustc_lint
bors 47d1cdb0bc Auto merge of #100574 - Urgau:check-cfg-warn-cfg, r=petrochenkov
Add warning against unexpected --cfg with --check-cfg

This PR adds a warning when an unexpected `--cfg` is specified but not in the specified list of `--check-cfg`.

This is the follow-up PR I mentioned in https://github.com/rust-lang/rust/pull/99519.

r? `@petrochenkov`
2022-09-03 12:02:14 +00:00
..
src Auto merge of #100574 - Urgau:check-cfg-warn-cfg, r=petrochenkov 2022-09-03 12:02:14 +00:00
Cargo.toml macros: add diagnostic derive for lints 2022-07-05 16:00:21 +01:00