about summary refs log tree commit diff
path: root/src/tools/rustfmt
AgeCommit message (Expand)AuthorLines
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-34/+57
2024-03-24Rollup merge of #122737 - ytmimi:conditionally_ignore_fatal_diagnostic, r=dav...Matthias Krüger-1/+2
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-14/+67
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-3/+5
2024-03-20step cfgsMark Rousskov-1/+1
2024-03-19conditionally ignore fatal diagnostic in the SilentEmitterYacin Tmimi-1/+2
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-06Add basic rustfmt implementation & testRoss Smyth-13/+64
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-5/+7
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