diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-28 11:00:27 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-29 11:08:29 +1100 |
| commit | 45aad179050756e040bbfae1d2742d796b74aa95 (patch) | |
| tree | b11f7f758230e139ca4a5880308230ed6b21cec5 /tests/codegen/patchable-function-entry | |
| parent | 4026fd735c31f02fa8c2cd326459fb9851e354c9 (diff) | |
| download | rust-45aad179050756e040bbfae1d2742d796b74aa95.tar.gz rust-45aad179050756e040bbfae1d2742d796b74aa95.zip | |
Reinstate `emit_stashed_diagnostics` in `DiagCtxtInner::drop`.
I removed it in #121206 because I thought thought it wasn't necessary. But then I had to add an `emit_stashed_diagnostics` call elsewhere in rustfmt to avoid the assertion failure (which took two attempts to get right, #121487 and #121615), and now there's an assertion failure in clippy as well (https://github.com/rust-lang/rust-clippy/issues/12364). So this commit just reinstates the call in `DiagCtxtInner::drop`. It also reverts the rustfmt changes from #121487 and #121615, though it keeps the tests added for those PRs.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
