about summary refs log tree commit diff
path: root/src/tools/rustfmt/src/items.rs
AgeCommit message (Expand)AuthorLines
2025-09-01fix a constness ordering bug in rustfmtNathaniel McCallum-1/+1
2025-08-19Prevent impossible combinations in `ast::ModKind`.Nicholas Nethercote-1/+1
2025-08-11Extract ast TraitImplHeaderCameron Steffen-30/+21
2025-08-09remove `P`Deadbeef-5/+5
2025-07-17parse `const trait Trait`Deadbeef-1/+3
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-2/+2
2025-05-12Do not remove super keyword from super-letMichael Goulet-0/+5
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-5/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-36/+42
2025-04-01Remove useless `Option<Ident>` arg.Nicholas Nethercote-1/+1
2025-04-01Simplify `ItemVisitorKind`.Nicholas Nethercote-18/+24
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-5/+1
2025-03-05Simplify `rewrite_explicit_self`Frank King-67/+31
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+27
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-8/+9
2024-12-22Make sure we don't lose default struct value when formatting structMichael Goulet-0/+5
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-11-21Implement the unsafe-fields RFC.Luca Versari-3/+3
2024-11-15Make Visitor::FnKind and MutVisitor::FnKind compatiblemaxcabrajac-9/+2
2024-11-02Do not format generic constsMichael Goulet-6/+21
2024-09-19Merge commit 'b23b69900eab1260be510b2bd8922f4b6de6cf1e' into sync-from-rustfmtYacin Tmimi-152/+281
2024-08-30Remove `#[macro_use] extern crate tracing` from rustfmt.Nicholas Nethercote-0/+1
2024-06-23Remove stray println from rustfmtMichael Goulet-1/+0
2024-06-22Merge commit 'e4944185ae09c99f59b460e358909f329010ea9c' into sync-from-rustfm...Caleb Cartwright-16/+34
2024-05-17Rename Unsafe to SafetySantiago Pastorino-11/+11
2024-05-15delegation: Implement list delegationVadim Petrochenkov-2/+2
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-3/+3
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-24/+6
2024-01-12Delegation implementation: step 1Bryanskiy-1/+5
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-5/+5
2023-12-08coro_kind -> coroutine_kindMichael Goulet-5/+5
2023-12-04Option<CoroutineKind>Eric Holk-2/+3
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-4/+4
2023-10-22Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-syncCaleb Cartwright-183/+194
2023-10-04Fix spans for comments in rustfmtMichael Goulet-1/+2
2023-07-01Merge commit 'dca1cf90ad6b8e45afbed2061803befbb2d159e9' into sync-rustfmtCaleb Cartwright-5/+103
2023-06-19Merge commit '3f7c366fc0464e01ddcaefbd70647cb3da4202be' into rustfmt-syncCaleb Cartwright-4/+23
2023-04-04box a bunch of large typesOli Scherer-13/+13
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-4/+4
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-1/+1
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-1/+1
2023-01-24Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmtCaleb Cartwright-3/+7
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-6/+6
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-1/+1
2022-06-12Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmtCaleb Cartwright-1/+1
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-1/+1
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-1/+1
2022-04-17Visit generics inside visit_fn.Camille GILLOT-4/+9
2022-03-29Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-sub...Caleb Cartwright-5/+21
2022-03-05Change syntax for TyAlias where clausesJack Huey-34/+74