mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
9dd5340d3c
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.