about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pp
AgeCommit message (Expand)AuthorLines
2025-04-28Introduce `BoxMarker` to pretty-printing.Nicholas Nethercote-8/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_pretty`.Nicholas Nethercote-12/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
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