Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
message: "Exact error occured here",
|
message: "Exact error occurred here",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -266,7 +266,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp(
|
|||||||
let information_for_additional_diagnostic =
|
let information_for_additional_diagnostic =
|
||||||
vec![lsp_types::DiagnosticRelatedInformation {
|
vec![lsp_types::DiagnosticRelatedInformation {
|
||||||
location: location.clone(),
|
location: location.clone(),
|
||||||
message: "Exact error occured here".to_string(),
|
message: "Exact error occurred here".to_string(),
|
||||||
}];
|
}];
|
||||||
|
|
||||||
let diagnostic = lsp_types::Diagnostic {
|
let diagnostic = lsp_types::Diagnostic {
|
||||||
|
|||||||
Reference in New Issue
Block a user