diff options
| author | Rafael Fernández López <ereslibre@ereslibre.es> | 2018-01-06 13:33:20 +0100 |
|---|---|---|
| committer | Rafael Fernández López <ereslibre@ereslibre.es> | 2018-01-08 17:36:21 +0100 |
| commit | b48d944165dd878b887273898b7e4e4b4163c786 (patch) | |
| tree | 3c1b4c808bc9f63c66fb4643d121bc7851948185 /src/test/codegen/float_math.rs | |
| parent | 90e019bacd9e5d231e5292b393269ce7ada4940d (diff) | |
| download | rust-b48d944165dd878b887273898b7e4e4b4163c786.tar.gz rust-b48d944165dd878b887273898b7e4e4b4163c786.zip | |
Clean emitted diagnostics when `reset_err_count` is called.
When external tools like `rustfmt` calls to `reset_err_count` for handler reusing, it will set the error count on the handler to 0, but since https://github.com/rust-lang/rust/pull/47146 the handler will contain status that will prevent the error count to be bumped if this handler is reused. This caused `rustfmt` idempotency tests to fail: https://github.com/rust-lang-nursery/rustfmt/issues/2338 Fixes: https://github.com/rust-lang-nursery/rustfmt/issues/2338
Diffstat (limited to 'src/test/codegen/float_math.rs')
0 files changed, 0 insertions, 0 deletions
