mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Move progress reporting to utils
This commit is contained in:
parent
bd903bf132
commit
1893289e5c
5 changed files with 91 additions and 92 deletions
|
@ -21,7 +21,6 @@ use crate::{
|
|||
main_loop::Task,
|
||||
reload::SourceRootConfig,
|
||||
request_metrics::{LatestRequests, RequestMetrics},
|
||||
show_message,
|
||||
thread_pool::TaskPool,
|
||||
to_proto::url_from_abs_path,
|
||||
Result,
|
||||
|
@ -182,9 +181,6 @@ impl GlobalState {
|
|||
self.send(response.into());
|
||||
}
|
||||
}
|
||||
pub(crate) fn show_message(&self, typ: lsp_types::MessageType, message: String) {
|
||||
show_message(typ, message, &self.sender)
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for GlobalState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue