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 /tests/ui/lto | |
| 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 'tests/ui/lto')
| -rw-r--r-- | tests/ui/lto/issue-11154.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lto/issue-11154.stderr b/tests/ui/lto/issue-11154.stderr index 4d52f6c0f3d..9f5d7518982 100644 --- a/tests/ui/lto/issue-11154.stderr +++ b/tests/ui/lto/issue-11154.stderr @@ -1,6 +1,6 @@ error: cannot prefer dynamic linking when performing LTO - -note: only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO + | + = note: only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO error: aborting due to 1 previous error |
