about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorHans Kratz <hans@appfour.com>2021-08-04 14:25:45 +0000
committerHans Kratz <hans@appfour.com>2021-08-04 14:25:45 +0000
commit5ff06fb77f906b65b6a5301e84acc82a246af2b0 (patch)
treec31b99fc978805d0d05d01de51015c733d854796 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent49ca3d9796030fc0a85089460e9f825ceecc08ed (diff)
downloadrust-5ff06fb77f906b65b6a5301e84acc82a246af2b0.tar.gz
rust-5ff06fb77f906b65b6a5301e84acc82a246af2b0.zip
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 #84219.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions