summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-08Inline npals closureDavid Tolnay-2/+5
2023-12-08Support async gen fnMichael Goulet-0/+4
2023-12-08coro_kind -> coroutine_kindMichael Goulet-3/+3
2023-12-04Option<CoroutineKind>Eric Holk-2/+1
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-4/+10
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-0/+1
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-27Fix some backticks in comments.Nicholas Nethercote-1/+1
2023-11-24Add `Span` to `TraitBoundModifier`Deadbeef-1/+1
2023-11-22Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-deadbors-146/+126