diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-24 09:23:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-24 09:23:42 +0200 |
| commit | 8019d08ef96014a575ede8cccd130f2b0a56a9d4 (patch) | |
| tree | 532817e1dda879b95f559f9328217726de9c0065 /compiler/rustc_next_trait_solver/src | |
| parent | a89c33b290dc794b7a685c51144cfdea6a4549c4 (diff) | |
| parent | 343fecabc750fa10bc695ad840cfc3ff9bc70830 (diff) | |
| download | rust-8019d08ef96014a575ede8cccd130f2b0a56a9d4.tar.gz rust-8019d08ef96014a575ede8cccd130f2b0a56a9d4.zip | |
Rollup merge of #141456 - Urgau:check-cfg-version-pred, r=jieyouxu
Suggest correct `version("..")` predicate syntax in check-cfg
This PR specialize the `unexpected_cfgs` lint diagnostic to suggest correct `version("..")` predicate syntax when providing the key-value one, eg. `version = "1.27"`.
Fixes https://github.com/rust-lang/rust/issues/141440
r? ``@jieyouxu``
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
0 files changed, 0 insertions, 0 deletions
