We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbffe73 commit d38b7b8Copy full SHA for d38b7b8
crates/rust-analyzer/src/main_loop.rs
@@ -8,7 +8,7 @@ use std::{
8
9
use always_assert::always;
10
use crossbeam_channel::{select, Receiver};
11
-use ide_db::base_db::{Cancelled, SourceDatabaseExt, VfsPath};
+use ide_db::base_db::{SourceDatabaseExt, VfsPath};
12
use lsp_server::{Connection, Notification, Request};
13
use lsp_types::notification::Notification as _;
14
use vfs::{ChangeKind, FileId};
@@ -796,11 +796,6 @@ impl GlobalState {
796
.into_iter()
797
.filter_map(|file_id| {
798
handlers::publish_diagnostics(&snapshot, file_id)
799
- .map_err(|err| {
800
- if err.is::<Cancelled>() {
801
- tracing::error!("failed to compute diagnostics: {:?}", err);
802
- }
803
- })
804
.ok()
805
.map(|diags| (file_id, diags))
806
})
0 commit comments