diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt | 2 | ||||
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/to_proto.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt index 8f8953cd2..bdcf2a38f 100644 --- a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt +++ b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt | |||
@@ -51,7 +51,7 @@ | |||
51 | }, | 51 | }, |
52 | }, | 52 | }, |
53 | }, | 53 | }, |
54 | message: "Exact error occured here", | 54 | message: "Exact error occurred here", |
55 | }, | 55 | }, |
56 | ], | 56 | ], |
57 | ), | 57 | ), |
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 { |