Commit 85615d6
committed
Merge
Because:
- `diagnostic_builder.rs` is small (282 lines),
- `Diagnostic` and `DiagnosticBuilder` are closely related types, and
- there's already an `impl DiagnosticBuilder` block in `diagnostic.rs`.
At the same time, reorder a few of things already in `diagnostic.rs`,
e.g. move `struct Diagnostic` just before `impl Diagnostic`.
This commit only moves code around. There are no functional changes.diagnostic_builder.rs into diagnostic.rs.1 parent bb59453 commit 85615d6
File tree
3 files changed
+352
-369
lines changed- compiler/rustc_errors/src
3 files changed
+352
-369
lines changed
0 commit comments