Add more track_caller
This commit is contained in:
parent
7586ba6bfb
commit
285285d3fd
@ -478,6 +478,7 @@ fn check_command(
|
||||
Some(cmd)
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
fn send(&self, check_task: FlycheckMessage) {
|
||||
self.sender.send(check_task).unwrap();
|
||||
}
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user