Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overflow in rustc happening if the
err_count()
is reduced in a …
…stage. This can happen if stashed diagnostics are removed or replaced with fewer errors. The semantics stay the same if built without overflow. Fixes rust-lang#84219.
- Loading branch information