aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres/path_resolution.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-04-12 14:09:21 +0100
committerAleksey Kladov <[email protected]>2021-04-12 14:19:36 +0100
commit29d5f29932eae4dcae589f2769e6a0f26c5ee4b9 (patch)
tree59dae2f1ee03ec35ab95f05ea4b5bb2506162652 /crates/hir_def/src/nameres/path_resolution.rs
parenta526d0a4b78b29fec4c2e8d5608ceaeec128f794 (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/path_resolution.rs')
0 files changed, 0 insertions, 0 deletions