mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 05:25:38 +00:00
They're dodgy, covering all the keywords, including weak ones, and edition-specific ones without considering the edition. They have a single use in rustfmt. This commit changes that use to `is_reserved_ident`, which is a much more widely used alternative and is good enough, judging by the lack of effect on the test suite.