rust/compiler/rustc_hir_pretty
Nicholas Nethercote 7e0c6dba0d 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.
2022-12-05 16:33:24 +11:00
..
2022-12-05 16:33:24 +11:00
2022-09-29 16:49:04 +09:00