diff options
| author | bors <bors@rust-lang.org> | 2023-10-13 08:37:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-13 08:37:27 +0000 |
| commit | a4a10bdf29a13b8773948c8938d2af47c03becb9 (patch) | |
| tree | 8bbd06d9b6dcbccb1df599295470118fa0da87f1 /compiler/rustc_hir_analysis/src | |
| parent | 2763ca50da1192aa28295ef4dbe5d06443e1b90a (diff) | |
| parent | ed922d8c727979d8fe8b03061e83a0841a0e959b (diff) | |
| download | rust-a4a10bdf29a13b8773948c8938d2af47c03becb9.tar.gz rust-a4a10bdf29a13b8773948c8938d2af47c03becb9.zip | |
Auto merge of #116666 - Urgau:check-cfg-pre-mcp636, r=petrochenkov
Improve check-cfg diagnostics This PR tries to improve some of the diagnostics of check-cfg. The main changes is the unexpected name or value being added to the main diagnostic: ```diff - warning: unexpected `cfg` condition name + warning: unexpected `cfg` condition name: `widnows` ``` It also cherry-pick the better sensible logic for when we print the list of expected values when we have a matching value for a very similar name. Address https://github.com/rust-lang/rust/pull/111072#discussion_r1356818100 r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions
