mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 08:57:31 +00:00
This lets us avoid the use of `DiagnosticBuilder::into_diagnostic` in miri, when then means that `DiagnosticBuilder::into_diagnostic` can become private, being now only used by `stash` and `buffer`.