Files
rust/src
Nicholas Nethercote 45aad17905 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.
2024-02-29 11:08:29 +11:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-19 12:26:20 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-12 14:11:16 +03:00
2023-12-19 12:26:20 -08:00
2023-12-19 12:26:20 -08:00
2024-01-17 03:14:16 +01:00
2023-12-10 10:56:22 +08:00
2020-03-26 21:25:34 -05:00
2023-12-03 12:25:46 +01:00
2020-03-26 21:25:34 -05:00
2024-01-12 14:11:16 +03:00