diff options
| author | bors <bors@rust-lang.org> | 2024-06-01 14:14:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-01 14:14:14 +0000 |
| commit | c1ea2b562e622aeddf5c0fd3dc7b340b532a4fea (patch) | |
| tree | 12b2d51bbe86409ed87662bf4a4d22d22f31a808 /compiler/rustc_interface/src/errors.rs | |
| parent | d4a5cb9fdd9f14f053a2e60de4e4054c474f9694 (diff) | |
| parent | f476d37e4eda7551aa9a4f4a0edb67032b3ae0f0 (diff) | |
| download | rust-c1ea2b562e622aeddf5c0fd3dc7b340b532a4fea.tar.gz rust-c1ea2b562e622aeddf5c0fd3dc7b340b532a4fea.zip | |
Auto merge of #17302 - mladedav:dm/fix-clear, r=Veykril
fix diagnostics clearing when flychecks run per-workspace This might be causing #17300 or it's a different bug with the same functionality. I wonder if the decision to clear diagnostics should stay in the main loop or maybe the flycheck itself should track it and tell the mainloop? I have used a hash map but we could just as well use a vector since the IDs are `usizes` in some given range starting at 0. It would be probably faster but this just felt a bit cleaner and it allows us to change the ID to newtype later and we can just use a hasher that returns the underlying integer.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
