diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-13 17:27:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-22 12:51:11 +1100 |
| commit | ad5d7f43c95e09f1e0efed8673d8a515d0f2054a (patch) | |
| tree | b55384ae4e35139727f9b85ed63efc45c2bd3001 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | b38ed1afa6cae65e5895f419ab8af98bdf5af840 (diff) | |
| download | rust-ad5d7f43c95e09f1e0efed8673d8a515d0f2054a.tar.gz rust-ad5d7f43c95e09f1e0efed8673d8a515d0f2054a.zip | |
Overhaul `rustc_codegen_ssa::back::write::Diagnostic`.
- Make it more closely match `rustc_errors::Diagnostic`, by making the field names match, and adding `children`, which requires adding `rustc_codegen_ssa::back::write::Subdiagnostic`. - Check that we aren't missing important info when converting diagnostics. - Add better comments. - Tweak `rustc_errors::Diagnostic::replace_args` so that we don't need to do any cloning when converting diagnostics.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
