summary refs log tree commit diff
path: root/src/tools/rustfmt
AgeCommit message (Expand)AuthorLines
2024-01-22Actually, just use nonterminal_may_begin_withMichael Goulet-8/+7
2024-01-22Do not eagerly recover malformed AST in rustfmtMichael Goulet-1/+1
2024-01-22Check that a token can begin a nonterminal kind before parsing it as a macro ...Michael Goulet-17/+28
2024-01-17Add `PatKind::Err`Lieselotte-3/+6
2024-01-12Delegation implementation: step 1Bryanskiy-1/+10
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-5/+7
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-4/+4
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2024-01-05Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obkMichael Goulet-2/+2
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-2/+2
2024-01-02Rename `unused_tuple_struct_fields` in rustfmtJake Goulding-1/+1
2024-01-01Address unused tuple struct fields in rustfmtJake Goulding-1/+1
2023-12-23Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-...Matthias Krüger-3/+9
2023-12-23bool->enum for ast::PatKind::Struct presence of `..`Alona Enraght-Moony-3/+9
2023-12-23Improve some names.Nicholas Nethercote-1/+1
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-13/+23
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-20/+11
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-20/+11
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-5/+5
2023-12-19Plumb awaitness of for loopsEric Holk-13/+23
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename `default_handler` as `default_dcx`.Nicholas Nethercote-2/+2
2023-12-18Rename `ParseSess::with_span_handler` as `ParseSess::with_dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-11/+11
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-4/+4
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-4/+2
2023-12-11Rollup merge of #118802 - ehuss:remove-edition-preview, r=TaKO8KiGuillaume Gomez-4/+4
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-3/+3
2023-12-10Remove edition umbrella features.Eric Huss-4/+4
2023-12-10remove redundant importssurechen-16/+4
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-14/+25
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-0/+2
2023-12-08coro_kind -> coroutine_kindMichael Goulet-14/+23
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-5/+10
2023-12-04Address code review feedbackEric Holk-15/+6
2023-12-04Option<CoroutineKind>Eric Holk-7/+12
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-17/+26
2023-12-03Parse a pattern with no armNadrieril-5/+10
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-1/+4
2023-11-29Add `never_patterns` feature gateNadrieril-1/+4
2023-11-28Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`.Nicholas Nethercote-2/+2
2023-11-24Add `Span` to `TraitBoundModifier`Deadbeef-1/+1
2023-11-22Update itertools to 0.11.Nicholas Nethercote-1/+1
2023-11-04fixes for rustfmt + ast visitorDinu Blanovschi-2/+2
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-6/+6
2023-10-23Auto merge of #116033 - bvanjoi:fix-116032, r=petrochenkovbors-0/+2
2023-10-22Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-syncCaleb Cartwright-788/+2818
2023-10-22use visibility to check unused imports and delete some stmtsbohan-0/+2
2023-10-20Rename lots of files that had `generator` in their nameOli Scherer-0/+0
2023-10-20s/generator/coroutine/Oli Scherer-3/+3