diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-25 16:12:27 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-25 16:12:27 +0000 |
commit | dc5ecf446991c65359cf49d52098fcec5f1a1f68 (patch) | |
tree | ca0ee39e7f1305019954b3a413a06f9431cb6648 /crates/ra_lsp_server/src/req.rs | |
parent | 6df1f71b7d0db209978595dc9be496e7f2ef88ec (diff) | |
parent | f6adb85b681c23b64cc33197eb67d5d7fcf920f0 (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.rs | 8 |
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 | ||
22 | pub enum CollectGarbage {} | ||
23 | |||
24 | impl Request for CollectGarbage { | ||
25 | type Params = (); | ||
26 | type Result = (); | ||
27 | const METHOD: &'static str = "ra/collectGarbage"; | ||
28 | } | ||
29 | |||
22 | pub enum SyntaxTree {} | 30 | pub enum SyntaxTree {} |
23 | 31 | ||
24 | impl Request for SyntaxTree { | 32 | impl Request for SyntaxTree { |