aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/req.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 16:12:27 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-25 16:12:27 +0000
commitdc5ecf446991c65359cf49d52098fcec5f1a1f68 (patch)
treeca0ee39e7f1305019954b3a413a06f9431cb6648 /crates/ra_lsp_server/src/req.rs
parent6df1f71b7d0db209978595dc9be496e7f2ef88ec (diff)
parentf6adb85b681c23b64cc33197eb67d5d7fcf920f0 (diff)
Merge #643
643: add gc request r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/req.rs')
-rw-r--r--crates/ra_lsp_server/src/req.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs
index ec6b6d905..5968e592b 100644
--- a/crates/ra_lsp_server/src/req.rs
+++ b/crates/ra_lsp_server/src/req.rs
@@ -19,6 +19,14 @@ impl Request for AnalyzerStatus {
19 const METHOD: &'static str = "ra/analyzerStatus"; 19 const METHOD: &'static str = "ra/analyzerStatus";
20} 20}
21 21
22pub enum CollectGarbage {}
23
24impl Request for CollectGarbage {
25 type Params = ();
26 type Result = ();
27 const METHOD: &'static str = "ra/collectGarbage";
28}
29
22pub enum SyntaxTree {} 30pub enum SyntaxTree {}
23 31
24impl Request for SyntaxTree { 32impl Request for SyntaxTree {