diff options
Diffstat (limited to 'crates/ra_cargo_watch')
-rw-r--r-- | crates/ra_cargo_watch/Cargo.toml | 12 | ||||
-rw-r--r-- | crates/ra_cargo_watch/src/conv.rs | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_cargo_watch/Cargo.toml b/crates/ra_cargo_watch/Cargo.toml index dd814fc9d..b09650d98 100644 --- a/crates/ra_cargo_watch/Cargo.toml +++ b/crates/ra_cargo_watch/Cargo.toml | |||
@@ -5,14 +5,14 @@ version = "0.1.0" | |||
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | 6 | ||
7 | [dependencies] | 7 | [dependencies] |
8 | crossbeam-channel = "0.4" | 8 | crossbeam-channel = "0.4.0" |
9 | lsp-types = { version = "0.70.0", features = ["proposed"] } | 9 | lsp-types = { version = "0.70.1", features = ["proposed"] } |
10 | log = "0.4.3" | 10 | log = "0.4.8" |
11 | cargo_metadata = "0.9.1" | 11 | cargo_metadata = "0.9.1" |
12 | jod-thread = "0.1.0" | 12 | jod-thread = "0.1.0" |
13 | parking_lot = "0.10.0" | 13 | parking_lot = "0.10.0" |
14 | serde_json = "1.0.45" | 14 | serde_json = "1.0.48" |
15 | 15 | ||
16 | [dev-dependencies] | 16 | [dev-dependencies] |
17 | insta = "0.13.0" | 17 | insta = "0.13.1" |
18 | serde_json = "1.0" \ No newline at end of file | 18 | serde_json = "1.0.48" |
diff --git a/crates/ra_cargo_watch/src/conv.rs b/crates/ra_cargo_watch/src/conv.rs index 506370535..0246adfb5 100644 --- a/crates/ra_cargo_watch/src/conv.rs +++ b/crates/ra_cargo_watch/src/conv.rs | |||
@@ -234,7 +234,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp( | |||
234 | let child = map_rust_child_diagnostic(&child, workspace_root); | 234 | let child = map_rust_child_diagnostic(&child, workspace_root); |
235 | match child { | 235 | match child { |
236 | MappedRustChildDiagnostic::Related(related) => related_information.push(related), | 236 | MappedRustChildDiagnostic::Related(related) => related_information.push(related), |
237 | MappedRustChildDiagnostic::SuggestedFix(code_action) => fixes.push(code_action.into()), | 237 | MappedRustChildDiagnostic::SuggestedFix(code_action) => fixes.push(code_action), |
238 | MappedRustChildDiagnostic::MessageLine(message_line) => { | 238 | MappedRustChildDiagnostic::MessageLine(message_line) => { |
239 | write!(&mut message, "\n{}", message_line).unwrap(); | 239 | write!(&mut message, "\n{}", message_line).unwrap(); |
240 | 240 | ||