about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-09 08:21:10 +0000
committerbors <bors@rust-lang.org>2021-11-09 08:21:10 +0000
commit214cd1f228a463b59f73ee46c8ae3b30f85de253 (patch)
tree14e0374a49bca45bd553d17d94ec6fb0c530e94d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent60952bc3da442cf2ea11dcc9c80a461a659bbcd7 (diff)
parentebf8966156ab5d2831dd4cd1b34bc5a906d0f895 (diff)
downloadrust-214cd1f228a463b59f73ee46c8ae3b30f85de253.tar.gz
rust-214cd1f228a463b59f73ee46c8ae3b30f85de253.zip
Auto merge of #87337 - jyn514:lint-error, r=oli-obk,flip1995
Don't abort compilation after giving a lint error

The only reason to use `abort_if_errors` is when the program is so broken that either:
1. later passes get confused and ICE
2. any diagnostics from later passes would be noise

This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints.
So it can continue to lint and compile even if there are lint errors.

Closes https://github.com/rust-lang/rust/issues/82761. This is a WIP because I have a feeling it will exit with 0 even if there were lint errors; I don't have a computer that can build rustc locally at the moment.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions