rust/src/test/ui/statics
bors 214cd1f228 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.
2021-11-09 08:21:10 +00:00
..
auxiliary
issue-14227.mir.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-14227.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-14227.thir.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-15261.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-44373-2.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-44373.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-44373.stderr Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
static-fn-inline-xc.rs
static-fn-trait-xc.rs
static-function-pointer-xc.rs
static-function-pointer.rs
static-impl.rs
static-method-in-trait-with-tps-intracrate.rs
static-method-xcrate.rs
static-methods-in-traits.rs
static-methods-in-traits2.rs
static-mut-xc.rs
static-promotion.rs cleanup promotion const_kind checks 2020-09-19 22:14:17 +02:00
static-recursive.rs
uninhabited-static.rs Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
uninhabited-static.stderr Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00