about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-23 13:20:33 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-23 16:09:51 +1100
commit41da3d6f2fa3ef3eb49c576d82c6879d4b336ef8 (patch)
tree3a232cf7cc06e3f50937f397e3f5864b5a1b1ae8 /compiler/rustc_pattern_analysis/src
parentc5f69bdd5173a948e0131f934fa7c4cbf5e0b55f (diff)
downloadrust-41da3d6f2fa3ef3eb49c576d82c6879d4b336ef8.tar.gz
rust-41da3d6f2fa3ef3eb49c576d82c6879d4b336ef8.zip
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions