From 1893289e5c7cebeeb9705c031c996fc29d8c5b54 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 26 Jun 2020 16:33:57 +0200 Subject: Move progress reporting to utils --- crates/rust-analyzer/src/global_state.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/rust-analyzer/src/global_state.rs') 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::{ 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 { -- cgit v1.2.3