diff options
author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-05 16:09:45 +1100 |
---|---|---|
committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-05 16:33:24 +1100 |
commit | 7e0c6dba0d83dbee96bbf7eac7b4cb563e297a5f (patch) | |
tree | 515d2bb20a4bba33579955c60fba264f7b03e9d6 /tests/rustdoc-js-std/parser-errors.js | |
parent | 568e647047e2a3b817a3f39d2ecb25989a4981ce (diff) | |
download | rust-7e0c6dba0d83dbee96bbf7eac7b4cb563e297a5f.tar.gz |
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions