summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
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 /tests/rustdoc-js-std/parser-errors.js
parent568e647047e2a3b817a3f39d2ecb25989a4981ce (diff)
downloadrust-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