mirror of https://github.com/astral-sh/ruff
[red-knot] Use concise message for the server (#17367)
## Summary This is mainly a follow-up from https://github.com/astral-sh/ruff/pull/17357 to use the `concise_message` method for the red-knot server which I noticed recently while testing the overload implementation.
This commit is contained in:
parent
f0c3abd198
commit
3aa3ee8b89
|
|
@ -99,7 +99,7 @@ fn to_lsp_diagnostic(
|
|||
code: Some(NumberOrString::String(diagnostic.id().to_string())),
|
||||
code_description: None,
|
||||
source: Some("red-knot".into()),
|
||||
message: diagnostic.primary_message().to_string(),
|
||||
message: diagnostic.concise_message().to_string(),
|
||||
related_information: None,
|
||||
data: None,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue