diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-23 13:20:33 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-23 16:09:51 +1100 |
| commit | 41da3d6f2fa3ef3eb49c576d82c6879d4b336ef8 (patch) | |
| tree | 3a232cf7cc06e3f50937f397e3f5864b5a1b1ae8 /compiler/rustc_pattern_analysis/src | |
| parent | c5f69bdd5173a948e0131f934fa7c4cbf5e0b55f (diff) | |
| download | rust-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
