diff options
Diffstat (limited to 'crates/rust-analyzer/src/req.rs')
-rw-r--r-- | crates/rust-analyzer/src/req.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/req.rs b/crates/rust-analyzer/src/req.rs index b8b627e28..ae3448892 100644 --- a/crates/rust-analyzer/src/req.rs +++ b/crates/rust-analyzer/src/req.rs | |||
@@ -17,6 +17,7 @@ pub use lsp_types::{ | |||
17 | SignatureHelp, SymbolKind, TextDocumentEdit, TextDocumentPositionParams, TextEdit, | 17 | SignatureHelp, SymbolKind, TextDocumentEdit, TextDocumentPositionParams, TextEdit, |
18 | WorkDoneProgressParams, WorkspaceEdit, WorkspaceSymbolParams, | 18 | WorkDoneProgressParams, WorkspaceEdit, WorkspaceSymbolParams, |
19 | }; | 19 | }; |
20 | use std::path::PathBuf; | ||
20 | 21 | ||
21 | pub enum AnalyzerStatus {} | 22 | pub enum AnalyzerStatus {} |
22 | 23 | ||
@@ -141,7 +142,7 @@ pub struct Runnable { | |||
141 | pub args: Vec<String>, | 142 | pub args: Vec<String>, |
142 | pub extra_args: Vec<String>, | 143 | pub extra_args: Vec<String>, |
143 | pub env: FxHashMap<String, String>, | 144 | pub env: FxHashMap<String, String>, |
144 | pub cwd: Option<String>, | 145 | pub cwd: Option<PathBuf>, |
145 | } | 146 | } |
146 | 147 | ||
147 | #[derive(Deserialize, Serialize, Debug)] | 148 | #[derive(Deserialize, Serialize, Debug)] |