diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-26 16:02:00 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-26 16:02:00 +0100 |
commit | fa70882418088271e519c5820ae5cb17557a1f43 (patch) | |
tree | 338c3148cc7f0b1b27ebb383929cf2ba044022f5 /crates/rust-analyzer/src/global_state.rs | |
parent | 4f60b4f2a32190830215defe6cf81836f34d99c9 (diff) | |
parent | 1893289e5c7cebeeb9705c031c996fc29d8c5b54 (diff) |
Merge #5075
5075: Be more precise about flycheck status r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
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 f224c69e7..384e1f0d2 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 { |