about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/fixup.rs
AgeCommit message (Expand)AuthorLines
2025-05-03Implement asymmetrical precedence for closures and jumpsDavid Tolnay-11/+80
2024-12-27Skip parenthesis if `.` makes statement boundary unambiguousDavid Tolnay-0/+14
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-15/+3
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-1/+1
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-7/+7
2024-05-11Fix redundant parens around braced macro call in match armsDavid Tolnay-5/+52
2024-05-11Fix pretty printer statement boundaries after braced macro callDavid Tolnay-5/+1
2024-05-11Macro call with braces does not require semicolon to be statementDavid Tolnay-1/+5
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-1/+1
2024-04-19Give a name to each distinct manipulation of pretty-printer FixupContextDavid Tolnay-3/+81
2024-04-19Move pretty-printer FixupContext to a moduleDavid Tolnay-0/+71