Implement Buffer::diagnostic_group

This commit is contained in:
Antonio Scandurra 2021-12-24 12:08:55 +01:00
parent 11e3874b4a
commit 393009a05c
7 changed files with 222 additions and 164 deletions

View file

@ -1831,6 +1831,7 @@ mod tests {
buffer
.snapshot()
.diagnostics_in_range::<_, Point>(0..buffer.len())
.map(|(_, entry)| entry)
.collect::<Vec<_>>(),
&[
DiagnosticEntry {