about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/item.rs
AgeCommit message (Expand)AuthorLines
2025-07-17parse `const trait Trait`Deadbeef-0/+2
2025-06-12Introduce `-Zmacro-stats`.Nicholas Nethercote-2/+2
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-4/+4
2025-05-04Initial support for dynamically linked cratesBryanskiy-0/+11
2025-04-28Inline and remove three pretty-printer methods.Nicholas Nethercote-42/+22
2025-04-28Introduce `BoxMarker` to pretty-printing.Nicholas Nethercote-61/+69
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-41/+42
2025-03-25Allow defining opaques in statics and constsMichael Goulet-20/+45
2025-03-25Make printing define_opaque less goofyMichael Goulet-7/+19
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+11
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+2
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+20
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-19/+9
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