about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
AgeCommit message (Expand)AuthorLines
2023-12-19Plumb awaitness of for loopsEric Holk-3/+7
2023-12-08Do not parenthesize exterior struct lit inside match guardsDavid Tolnay-51/+99
2023-12-08Inline cond_needs_par into print_letDavid Tolnay-1/+1
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-2/+2
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-16/+21
2023-12-04Option<CoroutineKind>Eric Holk-1/+1
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-2/+2
2023-12-03Parse a pattern with no armNadrieril-16/+21
2023-11-28Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`.Nicholas Nethercote-3/+3
2023-11-22Remove or downgrade unnecessary `pub` visibility markers.Nicholas Nethercote-2/+2
2023-11-22Remove `IterDelimited`.Nicholas Nethercote-5/+7
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-16Preserve unicode escapes in format string literals when pretty-printing ASTPaul Gey-2/+2
2023-09-11Move let expression checking to parsingMatthew Jasper-1/+1
2023-08-04Improve spans for indexing expressionsNilstrieb-1/+1
2023-07-23more clippy::style fixes:Matthias Krüger-4/+4
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-0/+5
2023-05-05Migrate offset_of from a macro to builtin # syntaxest31-2/+1
2023-05-01Rip it outNilstrieb-3/+9
2023-05-01Rollup merge of #111037 - Nilstrieb:close-the-offsetof, r=compiler-errorsMatthias Krüger-1/+1
2023-04-30Close parentheses for `offset_of` in AST pretty printingNilstrieb-1/+1
2023-04-27Tweak await spanMichael Goulet-1/+1
2023-04-21minor tweaksDrMeepster-7/+6
2023-04-21offset_ofDrMeepster-0/+21
2023-03-19Remove the `NodeId` of `ast::ExprKind::Async`Arpad Borsos-1/+1
2023-03-12Remove `box_syntax` from AST and use in toolsclubby789-4/+0
2023-03-02Force parentheses around `match` expression in binary expressionbwmf2-0/+4
2023-01-27Replace format flags u32 by enums and bools.Mara Bos-14/+14
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-0/+104
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-14Fix ast_pretty for format_args for {:x?} and {:X?}.Mara Bos-2/+2
2023-01-12Add FIXME comments about asm and format_args ast_pretty.Mara Bos-0/+2
2023-01-12parse const closuresDeadbeef-0/+2
2023-01-12Expand format_args!() in rust_ast_lowering.Mara Bos-0/+102
2022-12-12Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkovbors-1/+3
2022-12-05Remove three uses of `LitKind::synthesize_token_lit`.Nicholas Nethercote-2/+3
2022-12-03Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514Matthias Krüger-3/+3
2022-12-03Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillotMatthias Krüger-0/+1
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-1/+2
2022-12-02Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.Nicholas Nethercote-1/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-3/+3
2022-11-29`rustc_ast_pretty`: remove `ref` patternsMaybe Waffle-76/+68
2022-11-28Keep track of the start of the argument block of a closureSarthak Singh-0/+1
2022-11-28Remove `Lit::from_included_bytes`.Nicholas Nethercote-2/+2
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-4/+4
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-1/+1
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-8/+13
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-2/+2