about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
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
commitce71137b96e32ad7d198d3a073aff722917c4fd0 (patch)
tree538bf9c32a73eebf2c5c0c048c40918308e4e5dc /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parent163c3ebf52f2b24f0e8d491375ee3d43af71e6d2 (diff)
downloadrust-ce71137b96e32ad7d198d3a073aff722917c4fd0.tar.gz
rust-ce71137b96e32ad7d198d3a073aff722917c4fd0.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 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions