rust/src/test
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
..
configuration_snippet.rs Merge commit '81fe905ca8' into rustfmt-sync 2023-10-22 20:21:44 -05:00
mod.rs Merge commit '81fe905ca8' into rustfmt-sync 2023-10-22 20:21:44 -05:00
mod_resolver.rs Merge commit '5ff7b632a9' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
parser.rs Explicitly call emit_stashed_diagnostics. 2024-02-23 16:09:51 +11:00