aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/cargo_check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/cargo_check.rs b/crates/ra_lsp_server/src/cargo_check.rs
index f98b4f69c..30716fc43 100644
--- a/crates/ra_lsp_server/src/cargo_check.rs
+++ b/crates/ra_lsp_server/src/cargo_check.rs
@@ -545,7 +545,7 @@ fn map_rust_diagnostic_to_lsp(
545 severity, 545 severity,
546 code: code.map(NumberOrString::String), 546 code: code.map(NumberOrString::String),
547 source: Some(source), 547 source: Some(source),
548 message: rd.message.clone(), 548 message,
549 related_information: if !related_information.is_empty() { 549 related_information: if !related_information.is_empty() {
550 Some(related_information) 550 Some(related_information)
551 } else { 551 } else {