Assign diagnostics a group_id
based on their related_information
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
2d6285a6e1
commit
78bbb83448
5 changed files with 252 additions and 73 deletions
|
@ -3633,7 +3633,8 @@ mod tests {
|
|||
Point::new(0, 9)..Point::new(0, 10),
|
||||
&Diagnostic {
|
||||
severity: lsp::DiagnosticSeverity::ERROR,
|
||||
message: "undefined variable 'A'".to_string()
|
||||
message: "undefined variable 'A'".to_string(),
|
||||
group_id: 0,
|
||||
}
|
||||
)]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue