about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-12 16:14:32 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-24 18:43:37 +1100
commit9dd5340d3cbbd3acbe6cc9dfcbcea07e7eb4355e (patch)
tree5794f00500d66ab6312a9e1a28ba54e8649b0c0d /compiler/rustc_codegen_llvm/src/errors.rs
parentaa8f0fd7163a2f23aa958faed30c9c2b77b934a5 (diff)
downloadrust-9dd5340d3cbbd3acbe6cc9dfcbcea07e7eb4355e.tar.gz
rust-9dd5340d3cbbd3acbe6cc9dfcbcea07e7eb4355e.zip
Remove `is_any_keyword` methods.
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions