X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_incremental%2Fsrc%2Fassert_dep_graph.rs;h=67b4d6d6959f602c042889c168d0047adf2fbd5b;hb=6702f20ca7a117e249d31c96f2c5f48f1bb4eaaa;hp=b4bf9f4bcc767a3688f7a9b2965cf399c46d718e;hpb=2cace6aa5d1db3e95d1d1fe8c2c9c432e8ae7c3d;p=rust.git diff --git a/compiler/rustc_incremental/src/assert_dep_graph.rs b/compiler/rustc_incremental/src/assert_dep_graph.rs index b4bf9f4bcc7..67b4d6d6959 100644 --- a/compiler/rustc_incremental/src/assert_dep_graph.rs +++ b/compiler/rustc_incremental/src/assert_dep_graph.rs @@ -432,10 +432,7 @@ fn recurse(query: &DepGraphQuery, node_states: &mut [State], node: NodeIndex) -> } } -fn filter_edges<'q>( - query: &'q DepGraphQuery, - nodes: &FxHashSet, -) -> Vec<(DepKind, DepKind)> { +fn filter_edges(query: &DepGraphQuery, nodes: &FxHashSet) -> Vec<(DepKind, DepKind)> { let uniq: FxHashSet<_> = query .edges() .into_iter()