summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/item.rs
AgeCommit message (Expand)AuthorLines
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-4/+7
2024-10-24Print safety correctly in extern static itemsMichael Goulet-1/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-6/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-19/+32
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-1/+2
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-1/+7
2024-05-17Rename Unsafe to SafetySantiago Pastorino-7/+7
2024-05-15delegation: Implement list delegationVadim Petrochenkov-14/+60
2024-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+2
2024-05-03AST pretty: Use `builtin_syntax` for type ascriptionLeón Orell Valerian Liehr-0/+1
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-9/+11
2024-04-19Move pretty-printer FixupContext to a moduleDavid Tolnay-1/+1
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+2
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-11/+4
2024-01-12Delegation implementation: step 1Bryanskiy-0/+31
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