rust/src/librustc_driver
Ariel Ben-Yehuda fb7ab9e43d report the total number of errors on compilation failure
Prior to this PR, when we aborted because a "critical pass" failed, we
displayed the number of errors from that critical pass. While that's the
number of errors that caused compilation to abort in *that place*,
that's not what people really want to know. Instead, always report the
total number of errors, and don't bother to track the number of errors
from the last pass that failed.

This changes the compiler driver API to handle errors more smoothly,
and therefore is a compiler-api-[breaking-change].

Fixes #42793.
2017-07-02 16:16:44 +03:00
..
Cargo.toml Remove (direct) rustc_llvm dependency from rustc_driver 2017-05-15 11:13:32 +02:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
lib.rs report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
pretty.rs introduce mir_keys() 2017-05-02 14:01:00 -04:00
target_features.rs Remove (direct) rustc_llvm dependency from rustc_driver 2017-05-15 11:13:32 +02:00
test.rs rustc: make the comon case of tcx.infer_ctxt(()) nicer. 2017-06-10 15:29:53 +03:00