about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-02 13:22:23 +0000
committerbors <bors@rust-lang.org>2017-07-02 13:22:23 +0000
commit2a992167c51d30a2b21da7a20d8c3077a2ec0093 (patch)
tree143cc21a6824068118d6694465e5ce579d139f06 /src/liballoc/lib.rs
parentc3a130cffca55c650c4a6d2de77c3138cf74c3f8 (diff)
parentfb7ab9e43da3727e1c58faf9451857968270dc77 (diff)
downloadrust-2a992167c51d30a2b21da7a20d8c3077a2ec0093.tar.gz
rust-2a992167c51d30a2b21da7a20d8c3077a2ec0093.zip
Auto merge of #43015 - arielb1:every-error-counts, r=eddyb
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, therefore is a compiler-api-[breaking-change].

Fixes #42793.

r? @eddyb
Diffstat (limited to 'src/liballoc/lib.rs')
0 files changed, 0 insertions, 0 deletions