fn filter_edges<'q>(
    query: &'q DepGraphQuery,
    nodes: &FxHashSet<DepKind>
) -> Vec<(DepKind, DepKind)>