1
Fork 0
rust/compiler/rustc_session/src
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
..
cgu_reuse_tracker.rs Make Diagnostic::span_fatal unconditionally raise an error 2021-05-08 23:12:04 -04:00
code_stats.rs
config.rs more clippy fixes 2021-11-07 16:59:05 +01:00
cstore.rs Access Session while decoding expn_id. 2021-10-06 19:06:20 +02:00
filesearch.rs Move get_tools_search_paths from FileSearch to Session 2021-09-08 18:25:47 +02:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
options.rs more clippy fixes 2021-11-07 16:59:05 +01:00
output.rs Use command line metadata path if provided 2021-05-28 22:24:24 -07:00
parse.rs Report fatal lexer errors in --cfg command line arguments 2021-10-02 19:15:55 +02:00
search_paths.rs Doc comments 2021-09-08 18:25:46 +02:00
session.rs Don't proceed to codegen if there are lint errors 2021-11-08 01:22:28 +00:00
utils.rs Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00