]> git.lizzy.rs Git - rust.git/commit
Introduce `UnionIntoIdxSet` and `SubtractFromIdxSet` traits.
authorNicholas Nethercote <nnethercote@mozilla.com>
Mon, 20 Aug 2018 05:34:08 +0000 (15:34 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Fri, 24 Aug 2018 09:51:09 +0000 (19:51 +1000)
commit626b2987a9d9f36c9f0586e91f19d1f3062666a7
treed47328b67179dcf41a13d036708e04d89d408cee
parent180052d5f7c5fba4ee08a10f3cc5d6e44ffe1a55
Introduce `UnionIntoIdxSet` and `SubtractFromIdxSet` traits.

They let `union()`, `union_sparse()` and `union_hybrid()` be merged.
Likewise for subtract()`, `subtract_sparse()` and `subtract_hybrid()`.
src/librustc_data_structures/indexed_set.rs
src/librustc_mir/dataflow/at_location.rs
src/librustc_mir/dataflow/mod.rs
src/librustc_mir/transform/rustc_peek.rs