Add more track_caller

This commit is contained in:
mo8it 2024-08-12 10:54:46 +02:00
parent 7586ba6bfb
commit 285285d3fd
2 changed files with 3 additions and 1 deletions

View File

@ -478,6 +478,7 @@ fn check_command(
Some(cmd)
}
#[track_caller]
fn send(&self, check_task: FlycheckMessage) {
self.sender.send(check_task).unwrap();
}

View File

@ -558,8 +558,9 @@ pub(crate) fn is_completed(&self, request: &lsp_server::Request) -> bool {
self.req_queue.incoming.is_completed(&request.id)
}
#[track_caller]
fn send(&self, message: lsp_server::Message) {
self.sender.send(message).unwrap()
self.sender.send(message).unwrap();
}
pub(crate) fn publish_diagnostics(