about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/item.rs
AgeCommit message (Expand)AuthorLines
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-3/+5
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-3/+5
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-12-08Do not parenthesize exterior struct lit inside match guardsDavid Tolnay-2/+3
2023-11-22Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-deadbors-7/+8
2023-11-22Remove or downgrade unnecessary `pub` visibility markers.Nicholas Nethercote-4/+4
2023-11-22Remove `IterDelimited`.Nicholas Nethercote-3/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-1/+5
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-9/+26
2023-06-15Fix suggestion for E0404 not dealing with multiple generics许杰友 Jieyou Xu (Joe)-13/+15
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-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+2
2022-12-06Remove outdated syntax from trait alias pretty printingMaybe Waffle-13/+2
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-1/+1
2022-11-29`rustc_ast_pretty`: remove `ref` patternsMaybe Waffle-53/+58
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-1/+1
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-1/+1
2022-09-03Fix global_asm macro pretty printingMichael Goulet-0/+2
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-2/+2
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-03-05Change syntax for TyAlias where clausesJack Huey-4/+34
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-14/+34
2022-01-30Fix some double indents on exprs containing blocksDavid Tolnay-2/+2
2022-01-27try apply `rustc_pass_by_value` to `Span`lcnr-1/+1
2022-01-18Move item-related pretty printing functions to moduleDavid Tolnay-0/+644