mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Add more track_caller
This commit is contained in:
parent
b06cd17c13
commit
66859ed9d3
2 changed files with 3 additions and 1 deletions
|
@ -478,6 +478,7 @@ impl FlycheckActor {
|
|||
Some(cmd)
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
fn send(&self, check_task: FlycheckMessage) {
|
||||
self.sender.send(check_task).unwrap();
|
||||
}
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue