rust/compiler/rustc_errors
Matthias Krüger f5387a1c38
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``
2024-01-11 19:42:51 +01:00
..
src Rollup merge of #119841 - nnethercote:rm-DiagnosticBuilder-buffer, r=oli-obk 2024-01-11 19:42:51 +01:00
Cargo.toml annotate-snippets: update to 0.10 2024-01-07 16:53:32 +03:00
messages.ftl Implement diagnostic translation for expected lifetime parameter message 2023-07-07 15:56:01 +09:00