Commit 8f20a54
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 8f20a54
File tree
5 files changed
+355
-372
lines changed- compiler/rustc_errors/src
- tests/ui-fulldeps/session-diagnostic
5 files changed
+355
-372
lines changed
0 commit comments