diff options
author | Aleksey Kladov <[email protected]> | 2020-06-26 15:33:57 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-26 15:33:57 +0100 |
commit | 1893289e5c7cebeeb9705c031c996fc29d8c5b54 (patch) | |
tree | 19ff08cc4306fb4b0fbcb057927de3973d30eb33 /crates/rust-analyzer/src/global_state.rs | |
parent | bd903bf132dfc188e2f4c634a8b457ab4d7d4852 (diff) |
Move progress reporting to utils
Diffstat (limited to 'crates/rust-analyzer/src/global_state.rs')
-rw-r--r-- | crates/rust-analyzer/src/global_state.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index 4da094083..41659f99d 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs | |||
@@ -21,7 +21,6 @@ use crate::{ | |||
21 | main_loop::Task, | 21 | main_loop::Task, |
22 | reload::SourceRootConfig, | 22 | reload::SourceRootConfig, |
23 | request_metrics::{LatestRequests, RequestMetrics}, | 23 | request_metrics::{LatestRequests, RequestMetrics}, |
24 | show_message, | ||
25 | thread_pool::TaskPool, | 24 | thread_pool::TaskPool, |
26 | to_proto::url_from_abs_path, | 25 | to_proto::url_from_abs_path, |
27 | Result, | 26 | Result, |
@@ -182,9 +181,6 @@ impl GlobalState { | |||
182 | self.send(response.into()); | 181 | self.send(response.into()); |
183 | } | 182 | } |
184 | } | 183 | } |
185 | pub(crate) fn show_message(&self, typ: lsp_types::MessageType, message: String) { | ||
186 | show_message(typ, message, &self.sender) | ||
187 | } | ||
188 | } | 184 | } |
189 | 185 | ||
190 | impl Drop for GlobalState { | 186 | impl Drop for GlobalState { |