about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
AgeCommit message (Expand)AuthorLines
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
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-0/+4
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-5/+9
2022-07-12Parse closure bindersMaybe Waffle-0/+11
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+13
2022-03-15Parse inner attributes on inline const blockDavid Tolnay-3/+14
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-1/+1
2022-02-03Change struct expr pretty printing to match rustfmt styleDavid Tolnay-31/+39
2022-01-30Fix some double indents on exprs containing blocksDavid Tolnay-8/+16
2022-01-18Move expr-related pretty printing functions to moduleDavid Tolnay-0/+571