Finish getting multiple diagnostics sources building and running
This commit is contained in:
parent
bb4de47b15
commit
6156dbced0
8 changed files with 34 additions and 23 deletions
|
@ -620,7 +620,7 @@ mod tests {
|
|||
}],
|
||||
&snapshot,
|
||||
);
|
||||
buffer.update_diagnostics(set, cx);
|
||||
buffer.update_diagnostics(0, set, cx);
|
||||
});
|
||||
|
||||
// Hover pops diagnostic immediately
|
||||
|
|
|
@ -2800,7 +2800,7 @@ impl MultiBufferSnapshot {
|
|||
) -> impl Iterator<Item = DiagnosticEntry<O>> + 'a
|
||||
where
|
||||
T: 'a + ToOffset,
|
||||
O: 'a + text::FromAnchor,
|
||||
O: 'a + text::FromAnchor + Ord,
|
||||
{
|
||||
self.as_singleton()
|
||||
.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue