about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-12-05 16:09:45 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-12-05 16:33:24 +1100
commit7e0c6dba0d83dbee96bbf7eac7b4cb563e297a5f (patch)
tree515d2bb20a4bba33579955c60fba264f7b03e9d6 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent568e647047e2a3b817a3f39d2ecb25989a4981ce (diff)
downloadrust-7e0c6dba0d83dbee96bbf7eac7b4cb563e297a5f.tar.gz
rust-7e0c6dba0d83dbee96bbf7eac7b4cb563e297a5f.zip
Remove `LitKind::synthesize_token_lit`.
It has a single call site in the HIR pretty printer, where the resulting
token lit is immediately converted to a string.

This commit replaces `LitKind::synthesize_token_lit` with a `Display`
impl for `LitKind`, which can be used by the HIR pretty printer.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions