rust/compiler/rustc_pattern_analysis/src
bors 29f87ade9d 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`
2024-02-20 12:05:09 +00:00
..
constructor.rs Auto merge of #120313 - Nadrieril:graceful-error, r=compiler-errors 2024-02-05 21:36:25 +00:00
errors.rs Reduce capabilities of Diagnostic. 2024-02-20 13:22:17 +11:00
lib.rs Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco 2024-02-09 14:41:50 +01:00
lints.rs Remove dead args from functions 2024-02-02 22:47:26 +00:00
pat.rs Use a unique id instead of by-address indexing 2024-02-07 23:16:47 +01:00
pat_column.rs Rollup merge of #120331 - Nadrieril:no-arena, r=compiler-errors 2024-02-06 22:45:40 +01:00
rustc.rs Dejargnonize subst 2024-02-12 15:46:35 +09:00
usefulness.rs Auto merge of #120692 - Nadrieril:move-column-analysis-to-placeinfo, r=compiler-errors 2024-02-20 04:57:15 +00:00