diff options
| author | Rafael Fernández López <ereslibre@ereslibre.es> | 2018-01-02 20:00:12 +0100 |
|---|---|---|
| committer | Rafael Fernández López <ereslibre@ereslibre.es> | 2018-01-03 00:42:12 +0100 |
| commit | 063607eecbbdff53ee0cbc4b3f9a8ff49448f741 (patch) | |
| tree | b9afbec5a28b4b2165f8895e7211ed369ae84d9e /src/rustllvm/RustWrapper.cpp | |
| parent | 687d3d15ba726dbb1ac6b85223ebe0e98c6820cc (diff) | |
| download | rust-063607eecbbdff53ee0cbc4b3f9a8ff49448f741.tar.gz rust-063607eecbbdff53ee0cbc4b3f9a8ff49448f741.zip | |
Only bump error count when we are sure that the diagnostic is not a repetition.
This ensures that if we emit the same diagnostic twice, the error count will match the real number of errors shown to the user. Fixes #42106
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
