pub fn filter_hierarchy<Key>(
root_node: DiagnosticsHierarchy<Key>,
hierarchy_matcher: &HierarchyMatcher,
) -> Option<DiagnosticsHierarchy<Key>>
Expand description
Filters a diagnostics hierarchy using a set of path selectors and their associated property selectors.
If the return type is None that implies that the filter encountered no errors AND the tree was filtered to be empty at the end.