about summary refs log tree commit diff
path: root/src/tools/rustfmt
AgeCommit message (Expand)AuthorLines
2025-05-29Rollup merge of #141675 - nnethercote:ItemKind-field-order, r=fee1-deadJacob Pratt-3/+3
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-3/+3
2025-05-27move asm parsing code into `rustc_parse`Folkert de Vries-2/+1
2025-05-18rename to get rid of the 'raw' conceptFolkert de Vries-6/+3
2025-05-18attempt to have rustfmt use the new logicFolkert de Vries-3/+6
2025-05-12Do not remove super keyword from super-letMichael Goulet-0/+5
2025-04-29Also allow bool literals as first item of let chainCaleb Cartwright-15/+17
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+13
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-7/+11
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-7/+7
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-5/+3
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-1/+1
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-7/+7
2025-04-01Auto merge of #138492 - lcnr:rm-inline_const_pat, r=oli-obkbors-2/+2
2025-04-01Address review comments.Nicholas Nethercote-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-74/+83
2025-04-01Remove useless `Option<Ident>` arg.Nicholas Nethercote-38/+16
2025-04-01Simplify `ItemVisitorKind`.Nicholas Nethercote-30/+41
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-5/+3
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-2/+0
2025-03-25Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errorsMatthias Krüger-1/+2
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-1/+2
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-2/+0
2025-03-24Remove `is_any_keyword` methods.Nicholas Nethercote-1/+1
2025-03-21update rustfmt testlcnr-2/+2
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-6/+6
2025-03-17Teach rustfmt to handle postfix yieldEric Holk-21/+21
2025-03-14Teach rustfmt to handle postfix yieldEric Holk-2/+30
2025-03-14Preserve yield position during pretty printingEric Holk-2/+2
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+5
2025-03-06Fix rustfmtSantiago Pastorino-0/+5
2025-03-05Simplify `rewrite_explicit_self`Frank King-67/+31
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+46
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-8/+26
2025-03-03Rollup merge of #132388 - frank-king:feature/where-cfg, r=petrochenkovMatthias Krüger-7/+151
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-6/+24
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-7/+151
2025-02-28Do not yeet unsafe<> from typeMichael Goulet-1/+10
2025-02-11Add a TyPat in the AST to reuse the generic arg lowering logicOli Scherer-39/+66
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-57/+57
2025-02-02Use fallback fluent bundle from inner emitter in SilentEmitterbjorn3-12/+2
2025-02-02Slightly simplify DiagCtxt::make_silentbjorn3-1/+1
2025-01-30Disable overflow_delimited_expr in edition 2024Michael Goulet-37/+51
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-11/+21
2025-01-09Only treat plain literal patterns as shortOli Scherer-12/+43
2025-01-08Rename PatKind::Lit to ExprOli Scherer-3/+3
2025-01-07rustfmt: drop nightly-gating of the `--style-edition` flag registration许杰友 Jieyou Xu (Joe)-6/+6
2024-12-31Stabilize style_edition 2024 in-treeMichael Goulet-10/+6
2024-12-22Make sure we don't lose default struct value when formatting structMichael Goulet-0/+42