about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty
AgeCommit message (Expand)AuthorLines
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-15/+39
2022-02-03Change struct expr pretty printing to match rustfmt styleDavid Tolnay-31/+83
2022-02-03Support offsetting the most recent breakDavid Tolnay-0/+6
2022-02-03Change pp indent to signed to allow negative indentsDavid Tolnay-9/+8
2022-02-03Add trailing comma supportDavid Tolnay-7/+27
2022-02-03Rollup merge of #93515 - dtolnay:convenience, r=davidtwcoYuki Okushi-75/+78
2022-01-31Factor convenience functions out of main printer implementationDavid Tolnay-75/+78
2022-01-31Allow any line to have at least 60 charsDavid Tolnay-1/+4
2022-01-31Extract constant MARGIN out of Printer structDavid Tolnay-7/+6
2022-01-30Restore a visual alignment mode for block commentsDavid Tolnay-4/+30
2022-01-30Fix some double indents on exprs containing blocksDavid Tolnay-10/+18
2022-01-30Compute indent never relative to current columnDavid Tolnay-19/+22
2022-01-30Rollup merge of #92908 - dtolnay:rustdoc, r=GuillaumeGomezEric Huss-1/+1
2022-01-27try apply `rustc_pass_by_value` to `Span`lcnr-3/+3
2022-01-19Deduplicate branches of print_break implementationDavid Tolnay-19/+14
2022-01-19Inline print_newline functionDavid Tolnay-7/+4
2022-01-19Inline indent functionDavid Tolnay-8/+3
2022-01-19Eliminate offset number from Fits framesDavid Tolnay-28/+19
2022-01-19Touch up print_stringDavid Tolnay-5/+4
2022-01-19Replace all single character variable namesDavid Tolnay-47/+49
2022-01-19Combine advance_left matchesDavid Tolnay-8/+8
2022-01-19Inline print into advance_leftDavid Tolnay-11/+8
2022-01-19Simplify advance_leftDavid Tolnay-8/+4
2022-01-19Simplify left_total trackingDavid Tolnay-16/+6
2022-01-19Eliminate a token clone from advance_leftDavid Tolnay-7/+7
2022-01-19Grow scan_stack in the conventional directionDavid Tolnay-9/+9
2022-01-19Delete unused Display for pretty printer TokenDavid Tolnay-12/+0
2022-01-19Rollup merge of #93065 - dtolnay:ringbuffer, r=lcnrMatthias Krüger-112/+103
2022-01-19Rollup merge of #92920 - dtolnay:printtidy, r=cjgillotMatthias Krüger-1200/+1220
2022-01-18Eliminate left and right cursors in favor of ring bufferDavid Tolnay-30/+33
2022-01-18Eliminate eof token stateDavid Tolnay-42/+44
2022-01-18Simplify the buffer push done by scan_breakDavid Tolnay-8/+3
2022-01-18Eliminate a check_stack call on an empty scan stackDavid Tolnay-1/+1
2022-01-18Index a single time in check_stackDavid Tolnay-4/+5
2022-01-18Implement check_stack nonrecursivelyDavid Tolnay-9/+10
2022-01-18Implement check_stream nonrecursivelyDavid Tolnay-3/+3
2022-01-18Replace `if` + `unwrap` with `if let` in check_stackDavid Tolnay-2/+1
2022-01-18Ensure Printer buf is always indexed using self.left or self.rightDavid Tolnay-3/+3
2022-01-18Inline Printer's scan_pop_bottom methodDavid Tolnay-5/+1
2022-01-18Inline Printer's scan_top methodDavid Tolnay-5/+1
2022-01-18Inline Printer's scan_pop methodDavid Tolnay-7/+3
2022-01-18Simplify ring buffer pushesDavid Tolnay-7/+12
2022-01-18Inline Printer's scan_push methodDavid Tolnay-8/+6
2022-01-18Inline Printer's advance_right methodDavid Tolnay-9/+8
2022-01-18Move item-related pretty printing functions to moduleDavid Tolnay-636/+646
2022-01-18Move expr-related pretty printing functions to moduleDavid Tolnay-564/+574
2022-01-18Delete pretty printer tracingDavid Tolnay-53/+0
2022-01-18Render more readable macro matchers in rustdocDavid Tolnay-1/+1
2022-01-18Auto merge of #87648 - JulianKnodt:const_eq_constrain, r=oli-obkbors-7/+8
2022-01-17Abstract the pretty printer's ringbuffer to be infinitely sizedDavid Tolnay-22/+67