about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src
AgeCommit message (Expand)AuthorLines
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
2024-11-24add guard pattern AST nodeMax Niederman-0/+6
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-3/+2
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-3/+3
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+2
2024-10-26Print unsafety of attribute in AST unprettyUrgau-0/+11
2024-10-24Print safety correctly in extern static itemsMichael Goulet-1/+6
2024-10-15Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgrbors-26/+22
2024-10-15Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errorsMatthias Krüger-0/+6
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-26/+22
2024-10-11Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiserbors-8/+0
2024-10-07Add sugar for &pin (const|mut) typesEric Holk-0/+6
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-5/+5
2024-10-01Remove anon struct and union typesMichael Goulet-8/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-15/+15
2024-09-06Add initial support for raw lifetimesMichael Goulet-3/+10
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_pretty`.Nicholas Nethercote-19/+20
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-35/+36
2024-07-24centralize turning asm flags into human readable namesFolkert-29/+1
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-0/+5
2024-07-02Rollup merge of #126883 - dtolnay:breakvalue, r=fmeaseMatthias Krüger-2/+6