about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pp
AgeCommit message (Expand)AuthorLines
2023-11-22Remove or downgrade unnecessary `pub` visibility markers.Nicholas Nethercote-1/+1
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-0/+4
2022-02-03Change pp indent to signed to allow negative indentsDavid Tolnay-7/+4
2022-02-03Add trailing comma supportDavid Tolnay-3/+19
2022-01-31Factor convenience functions out of main printer implementationDavid Tolnay-0/+77
2022-01-19Eliminate a token clone from advance_leftDavid Tolnay-5/+6
2022-01-18Eliminate left and right cursors in favor of ring bufferDavid Tolnay-1/+19
2022-01-18Eliminate eof token stateDavid Tolnay-7/+8
2022-01-18Simplify the buffer push done by scan_breakDavid Tolnay-4/+0
2022-01-18Simplify ring buffer pushesDavid Tolnay-0/+8
2022-01-17Abstract the pretty printer's ringbuffer to be infinitely sizedDavid Tolnay-0/+53