diff options
author | Aleksey Kladov <[email protected]> | 2021-04-12 14:09:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-04-12 14:19:36 +0100 |
commit | 29d5f29932eae4dcae589f2769e6a0f26c5ee4b9 (patch) | |
tree | 59dae2f1ee03ec35ab95f05ea4b5bb2506162652 /crates/hir_def/src/nameres/tests/diagnostics.rs | |
parent | a526d0a4b78b29fec4c2e8d5608ceaeec128f794 (diff) |
fix: don't spam repeated error messages when `cargo check` fails
Conceptually, using a *message* here is wrong, because this is a
"status", rather than "point in time" thing. But statuses are an LSP
extension, while messages are stable. As a compromise, send message only
for more critical `metadata` failures, and only once per state change.
Diffstat (limited to 'crates/hir_def/src/nameres/tests/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions