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 8f8953cd28..bdcf2a38fd 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 @@ }, }, }, - message: "Exact error occured here", + message: "Exact error occurred here", }, ], ), diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs index 766c342f1f..f16f97131e 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( let information_for_additional_diagnostic = vec![lsp_types::DiagnosticRelatedInformation { location: location.clone(), - message: "Exact error occured here".to_string(), + message: "Exact error occurred here".to_string(), }]; let diagnostic = lsp_types::Diagnostic {