Skip to content

Commit

Permalink
Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilde…
Browse files Browse the repository at this point in the history
…r, r=davidtwco

Overhaul `Diagnostic` and `DiagnosticBuilder`

Implements the first part of rust-lang/compiler-team#722, which moves functionality and use away from `Diagnostic`, onto `DiagnosticBuilder`.

Likely follow-ups:
- Move things around, because this PR was written to minimize diff size, so some things end up in sub-optimal places. E.g. `DiagnosticBuilder` has impls in both `diagnostic.rs` and `diagnostic_builder.rs`.
- Rename `Diagnostic` as `DiagInner` and `DiagnosticBuilder` as `Diag`.

r? `@davidtwco`
  • Loading branch information
bors committed Feb 20, 2024
2 parents a26ff13 + a87c5ff commit 13a60d4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 13a60d4

Please sign in to comment.