about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state.rs
AgeCommit message (Expand)AuthorLines
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-4/+4
2024-05-23Add some comments.Nicholas Nethercote-11/+29
2024-05-17Rename Unsafe to SafetySantiago Pastorino-8/+11
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-04-19Give a name to each distinct manipulation of pretty-printer FixupContextDavid Tolnay-18/+4
2024-04-19Move pretty-printer FixupContext to a moduleDavid Tolnay-1/+2
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-3/+3
2024-04-16Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obkbors-1/+10
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-08Add pattern types to astOli Scherer-0/+5
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-1/+1
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-3/+6
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-01Move `gather_comments`.Nicholas Nethercote-2/+123
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
2024-02-12Lower anonymous structs or unions to HIRFrank King-2/+2
2024-01-31Add async bound modifier to enable async Fn boundsMichael Goulet-5/+16
2024-01-22Fix some cases in `space_between`.Nicholas Nethercote-19/+27
2024-01-22Don't insert spaces before most semicolons in `print_tts`.Nicholas Nethercote-0/+7
2024-01-17Add `PatKind::Err`Lieselotte-0/+5
2023-12-27Auto merge of #119105 - dtolnay:paren, r=WaffleLapkinbors-3/+15
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-1/+1
2023-12-23Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-...Matthias Krüger-2/+2
2023-12-23bool->enum for ast::PatKind::Struct presence of `..`Alona Enraght-Moony-2/+2
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-18/+12
2023-12-18Fix parenthesization of subexprs containing statement boundaryDavid Tolnay-3/+15
2023-12-15Add better ICE messages for some undescriptive panicsRoss Smyth-1/+3
2023-12-11Rollup merge of #118726 - dtolnay:matchguardlet, r=compiler-errorsMatthias Krüger-22/+51
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-6/+4
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-6/+23
2023-12-08Fix tidy ```ignore errorDavid Tolnay-2/+2
2023-12-08Do not parenthesize exterior struct lit inside match guardsDavid Tolnay-21/+47
2023-12-08Delete special handling of some expr kinds from print_letDavid Tolnay-10/+2
2023-12-08Rearrange logic of needs_par computation in print_letDavid Tolnay-2/+5
2023-12-08Inline cond_needs_par into print_letDavid Tolnay-2/+7