about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust
AgeCommit message (Expand)AuthorLines
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-1/+1
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-20Auto merge of #138747 - matthiaskrgr:rollup-68x44rw, r=matthiaskrgrbors-2/+10
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-17expand: Leave traces when expanding `cfg_attr` attributesVadim Petrochenkov-6/+13
2025-03-14Preserve yield position during pretty printingEric Holk-2/+12
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-12/+12
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+9
2025-03-06Use closure parse codeSantiago Pastorino-0/+1
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+8
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+7
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-22/+23
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-20/+21
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+2
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-4/+3
2025-02-23Put shebang at the top of pretty-printVladislav-0/+19
2025-02-22Filter elided lifetimes in HIR pretty printingUrgau-5/+9
2025-02-11Add a TyPat in the AST to reuse the generic arg lowering logicOli Scherer-1/+23
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-2/+2
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+20
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-19/+9
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
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-20Support pretty-printing dyn* trait objectsDavid Tolnay-2/+4
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-5/+4
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-1/+1
2024-12-16Rollup merge of #134284 - estebank:issue-74863, r=lcnrMatthias Krüger-1/+4
2024-12-15Add hir::AttributeJonathan Dönszelmann-12/+5
2024-12-15Rename `value` field to `expr` to simplify later commits' diffsOli Scherer-2/+2
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-1/+4
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+19
2024-12-12Parsing unsafe bindersMichael Goulet-0/+8
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-0/+8
2024-12-07Address review commentsNadrieril-0/+2
2024-12-02Rollup merge of #133746 - oli-obk:push-xwyrylxmrtvq, r=jieyouxuGuillaume Gomez-2/+2
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-2/+2
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