rust/compiler/rustc_lint
Matthias Krüger 00c4be3df8
Rollup merge of #130507 - Urgau:check-cfg-raw-keywords, r=jieyouxu
Improve handling of raw-idents in check-cfg

This PR improves the handling of raw-idents in the check-cfg diagnostics.

In particular the list of expected names and the suggestion now correctly take into account the "keyword-ness" of the ident, and correctly prefix the ident with `r#` when necessary.

`@rustbot` labels +F-check-cfg
2024-09-18 17:49:44 +02:00
..
src Rollup merge of #130507 - Urgau:check-cfg-raw-keywords, r=jieyouxu 2024-09-18 17:49:44 +02:00
Cargo.toml
messages.ftl simplify the suggestion notes 2024-09-13 02:43:49 +08:00