about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src
AgeCommit message (Expand)AuthorLines
2024-05-17Rename Unsafe to SafetySantiago Pastorino-15/+18
2024-05-15delegation: Implement list delegationVadim Petrochenkov-14/+60
2024-05-14Auto merge of #124256 - nnethercote:rm-NtIdent-NtLifetime, r=petrochenkovbors-6/+8
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-5/+7
2024-05-13Auto merge of #125055 - nnethercote:Comment-FIXME, r=compiler-errorsbors-27/+37
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-1/+1
2024-05-13Make `Comments::next` consume a comment.Nicholas Nethercote-9/+7
2024-05-13Make handling of `Comments` more iterator-like.Nicholas Nethercote-22/+34
2024-05-12Pretty-print let-else with added parenthesization when neededDavid Tolnay-1/+5
2024-05-11Fix redundant parens around braced macro call in match armsDavid Tolnay-6/+53
2024-05-11Delete MacCall case from pretty-printing semicolon after StmtKind::ExprDavid Tolnay-4/+1
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-2/+9
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-2/+2
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-153/+106
2024-04-19Move pretty-printer FixupContext to a moduleDavid Tolnay-74/+75
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-3/+3
2024-04-17Rollup merge of #122813 - nnethercote:nicer-quals, r=compiler-errorsMatthias Krüger-6/+4
2024-04-16Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obkbors-1/+10
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-6/+4
2024-04-16Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercoteLeón Orell Valerian Liehr-1/+1
2024-04-15Use a path instead of an ident (and stop manually resolving)Michael Goulet-1/+1
2024-04-15Validation and other thingsMichael Goulet-2/+10
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+2
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+2
2024-04-08Add pattern types to astOli Scherer-0/+5
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-1/+1
2024-03-29Auto merge of #123080 - Jules-Bertholet:mut-ref-mut, r=Nadrierilbors-3/+6
2024-03-27chore: fix some commentsxiaoxiangxianzi-1/+1
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-3/+6
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-5/+15
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-0/+6
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-1/+1
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-0/+4
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-5/+15
2024-03-02Rollup merge of #121815 - nnethercote:mv-gather_comments, r=est31Matthias Krüger-2/+123
2024-03-01Move `gather_comments`.Nicholas Nethercote-2/+123
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-02-24Add asm label support to AST and HIRGary Guo-0/+4
2024-02-20Add newtype for raw identsclubby789-4/+4
2024-02-16Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obkGuillaume Gomez-1/+6
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-1/+1
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-1/+6