about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-22 08:01:37 +0000
committerbors <bors@rust-lang.org>2024-02-22 08:01:37 +0000
commitf70f19fef41cfdda75c92f163434c29ad046cf09 (patch)
treef781338fb3f2e285e13f5cdb5478e8cacaebd093 /tests
parent026b3b8e955e0571db39aa96fc9d7aba25cc4d66 (diff)
parent6efffd723bc87f3a577f4f52fcffb6335406e9cb (diff)
downloadrust-f70f19fef41cfdda75c92f163434c29ad046cf09.tar.gz
rust-f70f19fef41cfdda75c92f163434c29ad046cf09.zip
Auto merge of #121129 - nnethercote:codegen-Diags, r=estebank
Improve codegen diagnostic handling

Clarify the workings of the temporary `Diagnostic` type used to send diagnostics from codegen threads to the main thread.

r? `@estebank`
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/lto/issue-11154.stderr4
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