rust/tests/parser
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
..
issue-4126
unclosed-delims
issue_4418.rs tests: add test for panic on new_parser_from_file 2020-11-02 18:31:51 -06:00
stashed-diag.rs Explicitly call emit_stashed_diagnostics. 2024-02-23 16:09:51 +11:00