about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state
AgeCommit message (Expand)AuthorLines
2025-08-11Extract ast TraitImplHeaderCameron Steffen-27/+29
2025-08-09remove `P`Deadbeef-10/+8
2025-07-17parse `const trait Trait`Deadbeef-0/+2
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-2/+6
2025-06-24Rollup merge of #135731 - frank-king:feature/pin-borrow, r=eholk,traviscrossJubilee-0/+4
2025-06-20Insert parentheses around binary operation with attributeDavid Tolnay-12/+38
2025-06-15Implement pinned borrows, part of `pin_ergonomics`Frank King-0/+4
2025-06-13Rollup merge of #142069 - nnethercote:Zmacro-stats, r=petrochenkovMatthias Krüger-2/+2
2025-06-13Rollup merge of #134847 - dtolnay:asymmetrical, r=fmeaseMatthias Krüger-64/+134
2025-06-12Introduce `-Zmacro-stats`.Nicholas Nethercote-2/+2
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-4/+4
2025-05-04Initial support for dynamically linked cratesBryanskiy-0/+11
2025-05-03Implement asymmetrical precedence for closures and jumpsDavid Tolnay-64/+134
2025-05-03Avoid an indent for labelled loops.Nicholas Nethercote-2/+2
2025-05-03Remove fake `BoxMarker`s.Nicholas Nethercote-10/+1
2025-04-28Inline and remove three pretty-printer methods.Nicholas Nethercote-42/+22
2025-04-28Introduce `BoxMarker` to pretty-printing.Nicholas Nethercote-124/+134
2025-04-27Rollup merge of #140280 - nnethercote:improve-if-else-printing, r=UrgauMatthias Krüger-4/+6
2025-04-26Improve HIR pretty-printing of if/else some more.Nicholas Nethercote-1/+1
2025-04-25Improve pretty printing of if/else.Nicholas Nethercote-3/+5
2025-04-25Fix some pretty printing indents.Nicholas Nethercote-2/+2
2025-04-24Fix pretty printing of never pattern match arms.Nicholas Nethercote-0/+1
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-2/+1
2025-04-03Use `BinOpKind` instead of `BinOp` for function args where possible.Nicholas Nethercote-6/+6
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-41/+42
2025-03-25Allow defining opaques in statics and constsMichael Goulet-20/+45
2025-03-25Make printing define_opaque less goofyMichael Goulet-7/+19
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-4/+2
2025-03-18Apply suggestions from code reviewEric Holk-1/+1
2025-03-14Preserve yield position during pretty printingEric Holk-2/+12
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+11
2025-03-06Use closure parse codeSantiago Pastorino-0/+1
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+8
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+2
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-4/+3
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+20
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-19/+9
2024-12-27Rollup merge of #134834 - dtolnay:unnamedcall, r=compiler-errorsDavid Tolnay-1/+3
2024-12-27Skip parenthesis around tuple struct field callsDavid Tolnay-1/+3
2024-12-27Skip parenthesis if `.` makes statement boundary unambiguousDavid Tolnay-11/+31
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-15/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+19
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-25/+24
2024-11-30Eliminate PREC_FORCE_PARENDavid Tolnay-4/+4
2024-11-30Eliminate precedence arithmetic from rustc_ast_prettyDavid Tolnay-25/+16
2024-11-29Eliminate rustc_ast_pretty's print_expr_maybe_parenDavid Tolnay-31/+87
2024-11-26Rollup merge of #133140 - dtolnay:precedence, r=fmeaseMichael Goulet-3/+3
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-4/+7
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-3/+3