mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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`` |
||
---|---|---|
.. | ||
json | ||
markdown | ||
annotate_snippet_emitter_writer.rs | ||
diagnostic_builder.rs | ||
diagnostic_impls.rs | ||
diagnostic.rs | ||
emitter.rs | ||
error.rs | ||
json.rs | ||
lib.rs | ||
lock.rs | ||
registry.rs | ||
snippet.rs | ||
styled_buffer.rs | ||
tests.rs | ||
translation.rs |