about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-21 09:37:30 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-21 11:03:31 +1100
commit8f20a54c6d4440ec58f78549878b9baabbf7f218 (patch)
tree3de23689b0ec4f271634da69aa295bc1986bd973 /compiler/rustc_codegen_llvm/src
parentbb594538fc6e84213a6b8d5e165442570aa48923 (diff)
downloadrust-8f20a54c6d4440ec58f78549878b9baabbf7f218.tar.gz
rust-8f20a54c6d4440ec58f78549878b9baabbf7f218.zip
Merge `diagnostic_builder.rs` into `diagnostic.rs`.
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions