Add more track_caller

This commit is contained in:
mo8it 2024-08-12 10:54:46 +02:00
parent b06cd17c13
commit 66859ed9d3
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -558,8 +558,9 @@ impl GlobalState {
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(