summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state
AgeCommit message (Expand)AuthorLines
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-2/+2
2023-04-04box a bunch of large typesOli Scherer-3/+3
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-4/+11
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-1/+1
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-1/+2
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
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+2
2022-12-12Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkovbors-1/+3
2022-12-06Remove outdated syntax from trait alias pretty printingMaybe Waffle-13/+2
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-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-1/+1
2022-11-29`rustc_ast_pretty`: remove `ref` patternsMaybe Waffle-129/+126
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-3/+3
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-0/+4
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-1/+1
2022-09-03Fix global_asm macro pretty printingMichael Goulet-0/+2
2022-08-11Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillotMatthias Krüger-2/+2
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-5/+9
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-2/+2
2022-07-12Parse closure bindersMaybe Waffle-0/+11
2022-06-16Fix pretty printing of empty type bound lists in where-clauseDavid Tolnay-5/+23
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-2/+1
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-4/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-8/+8
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-2/+2
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-03-05Change syntax for TyAlias where clausesJack Huey-4/+34
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-15/+35
2022-02-03Change struct expr pretty printing to match rustfmt styleDavid Tolnay-31/+80
2022-01-30Fix some double indents on exprs containing blocksDavid Tolnay-10/+18