about summary refs log tree commit diff
path: root/tests/rustdoc-ui
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-11 19:42:51 +0100
committerGitHub <noreply@github.com>2024-01-11 19:42:51 +0100
commitf5387a1c38822cb9c13686ed0cbc83069668ca3b (patch)
tree11d202734fcb973c726c3c973b94d7860ef0fc7a /tests/rustdoc-ui
parent6beb676990641737a611cf538a98bb85a3894858 (diff)
parent4fd1db1aa56fba038fd11f70aa6d5c56e0059930 (diff)
downloadrust-f5387a1c38822cb9c13686ed0cbc83069668ca3b.tar.gz
rust-f5387a1c38822cb9c13686ed0cbc83069668ca3b.zip
Rollup merge of #119841 - nnethercote:rm-DiagnosticBuilder-buffer, r=oli-obk
Remove `DiagnosticBuilder::buffer`

`DiagnosticBuilder::buffer` doesn't do much, and part of what it does (for `-Ztreat-err-as-bug`) it shouldn't.

This PR strips it back, replaces its uses, and finally removes it, making a few cleanups in the vicinity along the way.

r? ``@oli-obk``
Diffstat (limited to 'tests/rustdoc-ui')
-rw-r--r--tests/rustdoc-ui/ice-bug-report-url.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/ice-bug-report-url.stderr b/tests/rustdoc-ui/ice-bug-report-url.stderr
index 869fcd20fac..06a52691310 100644
--- a/tests/rustdoc-ui/ice-bug-report-url.stderr
+++ b/tests/rustdoc-ui/ice-bug-report-url.stderr
@@ -1,4 +1,4 @@
-error: expected one of `->`, `where`, or `{`, found `<eof>`
+error: internal compiler error: expected one of `->`, `where`, or `{`, found `<eof>`
   --> $DIR/ice-bug-report-url.rs:14:10
    |
 LL | fn wrong()