about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state
AgeCommit message (Expand)AuthorLines
2024-10-24Print safety correctly in extern static itemsMichael Goulet-1/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_pretty`.Nicholas Nethercote-7/+7
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+12
2024-07-02Rollup merge of #126883 - dtolnay:breakvalue, r=fmeaseMatthias Krüger-2/+6
2024-07-01Parenthesize break values containing leading labelDavid Tolnay-2/+6
2024-06-27Tighten spans for async blocksMichael Goulet-1/+1
2024-06-23Rename the 2 unambiguous precedence levels to PREC_UNAMBIGUOUSDavid Tolnay-7/+7
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-6/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-19/+32
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-3/+2
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-1/+2
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-1/+7
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-2/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-7/+7
2024-05-15delegation: Implement list delegationVadim Petrochenkov-14/+60
2024-05-11Fix redundant parens around braced macro call in match armsDavid Tolnay-6/+53
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-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+2
2024-05-03AST pretty: Use `builtin_syntax` for type ascriptionLeón Orell Valerian Liehr-7/+9
2024-04-30Rollup merge of #124524 - spastorino:make-foreign-static-use-struct, r=oli-obkMatthias Krüger-9/+11
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-9/+11
2024-04-29Pretty-print parenthesis around binary in postfix matchSasha Pourcelot-1/+1
2024-04-19Give a name to each distinct manipulation of pretty-printer FixupContextDavid Tolnay-135/+102
2024-04-19Move pretty-printer FixupContext to a moduleDavid Tolnay-73/+73
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+2
2024-03-27chore: fix some commentsxiaoxiangxianzi-1/+1
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-5/+15
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-11/+4
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-1/+1
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-0/+5
2024-01-12Delegation implementation: step 1Bryanskiy-0/+31
2023-12-27Auto merge of #119105 - dtolnay:paren, r=WaffleLapkinbors-41/+283
2023-12-22Rollup merge of #119169 - fmease:pretty-yeet-syntactic-cruft, r=compiler-errorsMatthias Krüger-15/+2
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-3/+7
2023-12-22Rid the AST & HIR pretty printers of syntactic cruftLeón Orell Valerian Liehr-15/+2
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-3/+5
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-3/+5
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-12-19Plumb awaitness of for loopsEric Holk-3/+7
2023-12-18Fix parenthesization of subexprs containing statement boundaryDavid Tolnay-41/+283
2023-12-08Do not parenthesize exterior struct lit inside match guardsDavid Tolnay-53/+102
2023-12-08Inline cond_needs_par into print_letDavid Tolnay-1/+1
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-2/+2
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-16/+21
2023-12-04Option<CoroutineKind>Eric Holk-1/+1