about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state.rs
AgeCommit message (Expand)AuthorLines
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
2023-11-22Add some comments.Nicholas Nethercote-0/+5
2023-11-22Factor out common code in `PrintState`.Nicholas Nethercote-4/+8
2023-11-22Streamline `PrintState`.Nicholas Nethercote-99/+83
2023-11-22Remove unused `PrintState::generic_params_to_string` method.Nicholas Nethercote-4/+0
2023-11-22Remove or downgrade unnecessary `pub` visibility markers.Nicholas Nethercote-36/+30
2023-11-22Remove `IterDelimited`.Nicholas Nethercote-3/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-1/+1
2023-11-08Clarify `space_between`.Nicholas Nethercote-30/+42
2023-10-12Rename `tt_prepend_space` as `space_between`.Nicholas Nethercote-4/+4
2023-08-24Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkovbors-0/+8
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-0/+8
2023-08-17Add helpful comments to `tt_prepend_space`.Nicholas Nethercote-0/+11
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-3/+3
2023-06-15Fix suggestion for E0404 not dealing with multiple generics许杰友 Jieyou Xu (Joe)-0/+7
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+4