summary refs log tree commit diff
path: root/src/tools/rustfmt
AgeCommit message (Expand)AuthorLines
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-4/+4
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+1
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+1
2024-03-05errors: share `SilentEmitter` between rustc and rustfmtDavid Wood-49/+31
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-141/+126
2024-03-04Tweak `parse_asm_args`.Nicholas Nethercote-1/+1
2024-02-29Rollup merge of #121326 - fmease:detect-empty-leading-where-clauses-on-ty-ali...Matthias Krüger-24/+6
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-24/+6
2024-02-29Rollup merge of #121783 - nnethercote:emitter-cleanups, r=oli-obkGuillaume Gomez-4/+7
2024-02-29Inline and remove `HumanEmitter::stderr`.Nicholas Nethercote-2/+5
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-2/+2
2024-02-29Reinstate `emit_stashed_diagnostics` in `DiagCtxtInner::drop`.Nicholas Nethercote-22/+7
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+4
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-12/+12
2024-02-26Auto merge of #121636 - matthiaskrgr:rollup-1tt2o5n, r=matthiaskrgrbors-19/+35
2024-02-26Rollup merge of #121615 - nnethercote:fix-121517, r=oli-obkMatthias Krüger-19/+35
2024-02-26Auto merge of #120586 - ShE3py:exprkind-err, r=fmeasebors-2/+3
2024-02-26Move `emit_stashed_diagnostic` call in rustfmt.Nicholas Nethercote-19/+35
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-2/+2
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-1/+2
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+1
2024-02-23Explicitly call `emit_stashed_diagnostics`.Nicholas Nethercote-5/+23
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-0/+11
2024-02-17Allow newly added non_local_definitions in rustfmtUrgau-0/+1
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-0/+11
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-1/+1
2024-02-14Rollup merge of #121035 - compiler-errors:rustfmt-asyncness, r=calebcartwrightGuillaume Gomez-4/+18
2024-02-13Format async bounds in rustfmtMichael Goulet-4/+18
2024-02-12Add rustfmt test from #117942Frank King-0/+12
2024-02-12Lower anonymous structs or unions to HIRFrank King-2/+2
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-10/+10
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