aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/diagnostics/to_proto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics/to_proto.rs')
-rw-r--r--crates/rust-analyzer/src/diagnostics/to_proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs
index 766c342f1..f16f97131 100644
--- a/crates/rust-analyzer/src/diagnostics/to_proto.rs
+++ b/crates/rust-analyzer/src/diagnostics/to_proto.rs
@@ -266,7 +266,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp(
266 let information_for_additional_diagnostic = 266 let information_for_additional_diagnostic =
267 vec![lsp_types::DiagnosticRelatedInformation { 267 vec![lsp_types::DiagnosticRelatedInformation {
268 location: location.clone(), 268 location: location.clone(),
269 message: "Exact error occured here".to_string(), 269 message: "Exact error occurred here".to_string(),
270 }]; 270 }];
271 271
272 let diagnostic = lsp_types::Diagnostic { 272 let diagnostic = lsp_types::Diagnostic {