]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45519 - michaelwoerister:dedup-errors, r=arielb1
authorbors <bors@rust-lang.org>
Thu, 26 Oct 2017 18:16:15 +0000 (18:16 +0000)
committerbors <bors@rust-lang.org>
Thu, 26 Oct 2017 18:16:15 +0000 (18:16 +0000)
commitb218a02ad8b8b79b30a847eadf3e9c739560fadf
tree7b6c98cf121a175eb959f22653c3403d104f8ea5
parentb0b80f8c2299cccd7a4f22ee3cc1a2ca823eaa31
parent9736474b6c3d3ce82587745723f09aca8f987c00
Auto merge of #45519 - michaelwoerister:dedup-errors, r=arielb1

Don't emit the same compiler diagnostic twice.

This PR makes the compiler filter out diagnostic messages that have already been emitted during the same compilation session.
src/Cargo.lock
src/librustc_errors/diagnostic.rs
src/librustc_errors/lib.rs