Uncomment the rest of the tests

This commit is contained in:
Kirill Bulatov
2023-09-14 22:18:26 +03:00
parent 47e0535f1c
commit 396efec6e1
4 changed files with 33 additions and 47 deletions
+8
View File
@@ -761,6 +761,14 @@ impl DisplaySnapshot {
let type_id = TypeId::of::<Tag>();
self.text_highlights.get(&Some(type_id)).cloned()
}
#[cfg(any(test, feature = "test-support"))]
pub fn inlay_highlight_ranges<Tag: ?Sized + 'static>(
&self,
) -> Option<Arc<(HighlightStyle, Vec<InlayHighlight>)>> {
let type_id = TypeId::of::<Tag>();
self.inlay_highlights.get(&Some(type_id)).cloned()
}
}
#[derive(Copy, Clone, Default, Eq, Ord, PartialOrd, PartialEq)]