about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
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
commit0332a7bf0b374bd4d4e2e2fb01a861830bdceb32 (patch)
treec4757a6c6b4634fc9655dd5544c8beb16efd3f6b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent6536c586fe793c5ecbc3371f618d2e7c3863b908 (diff)
parentac9dd3685632d6a8a0159809e8dc671a327c4875 (diff)
downloadrust-0332a7bf0b374bd4d4e2e2fb01a861830bdceb32.tar.gz
rust-0332a7bf0b374bd4d4e2e2fb01a861830bdceb32.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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions