about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src
AgeCommit message (Expand)AuthorLines
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-21/+18
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-21/+18
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-15Add better ICE messages for some undescriptive panicsRoss Smyth-1/+3
2023-12-11Rollup merge of #118726 - dtolnay:matchguardlet, r=compiler-errorsMatthias Krüger-76/+154
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-74/+149
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-3/+8
2023-12-08Inline npals closureDavid Tolnay-2/+5
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-5/+9
2023-12-08Support async gen fnMichael Goulet-0/+4
2023-12-08coro_kind -> coroutine_kindMichael Goulet-5/+5
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-16/+21
2023-12-04Option<CoroutineKind>Eric Holk-3/+2
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-6/+12
2023-12-03Parse a pattern with no armNadrieril-16/+21
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-0/+1
2023-11-29Rollup merge of #118394 - nnethercote:rm-hir-Ops, r=cjgillotMatthias Krüger-3/+3
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-28Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`.Nicholas Nethercote-3/+3
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-213/+152
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-50/+44
2023-11-22Remove `IterDelimited`.Nicholas Nethercote-52/+11
2023-11-22Remove unnecessary derives.Nicholas Nethercote-2/+1
2023-11-22Remove unneeded features.Nicholas Nethercote-2/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-1/+1
2023-11-15Bump cfg(bootstrap)sMark Rousskov-3/+3
2023-11-08Clarify `space_between`.Nicholas Nethercote-30/+42
2023-11-04Fix remaining uses of `CaptureBy::Value`Dinu Blanovschi-1/+1
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-2/+2
2023-10-17Auto merge of #116822 - notriddle:notriddle/rust-logo, r=fmeasebors-0/+3
2023-10-16docs: add Rust logo to more compiler cratesMichael Howell-0/+3
2023-10-16Preserve unicode escapes in format string literals when pretty-printing ASTPaul Gey-2/+2
2023-10-12Rename `tt_prepend_space` as `space_between`.Nicholas Nethercote-4/+4
2023-09-11Move let expression checking to parsingMatthew Jasper-1/+1