diff options
| author | bors <bors@rust-lang.org> | 2024-02-20 12:05:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-20 12:05:09 +0000 |
| commit | 31b551fee925cf9ca2d3c37fa09a712ef8e66228 (patch) | |
| tree | 2142dd29d5e1a8b655bad4f31508a77da7d3c09f /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | ba2139afd636061fd98626be65c1700e662eb976 (diff) | |
| parent | 86cb711b9647827783c4c0dd699d5ae835b2dc40 (diff) | |
| download | rust-31b551fee925cf9ca2d3c37fa09a712ef8e66228.tar.gz rust-31b551fee925cf9ca2d3c37fa09a712ef8e66228.zip | |
Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=davidtwco
Overhaul `Diagnostic` and `DiagnosticBuilder` Implements the first part of https://github.com/rust-lang/compiler-team/issues/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`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
