Nicholas Nethercote ce71137b96 Explicitly call emit_stashed_diagnostics.
Commit 72b172b in #121206 changed things so that
`emit_stashed_diagnostics` is only called from `run_compiler`. But
rustfmt doesn't use `run_compiler`, so it needs to call
`emit_stashed_diagnostics` itself to avoid an abort in
`DiagCtxtInner::drop` when stashed diagnostics occur.

Fixes #121450.
2024-02-23 16:09:51 +11:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-19 12:26:20 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-12 14:11:16 +03:00
2023-12-19 12:26:20 -08:00
2023-12-19 12:26:20 -08:00
2024-01-17 03:14:16 +01:00
2023-12-10 10:56:22 +08:00
2020-03-26 21:25:34 -05:00
2023-12-03 12:25:46 +01:00
2020-03-26 21:25:34 -05:00
2023-12-19 12:26:20 -08:00
2024-01-12 14:11:16 +03:00