]> git.lizzy.rs Git - rust.git/commit
Improve pushing to `Node::dependents`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 7 Jun 2018 05:35:10 +0000 (15:35 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Mon, 18 Jun 2018 00:04:23 +0000 (10:04 +1000)
commit6151bab8e1b94510eeb3929eb969ef8679a24294
treedee0fcf39f1a58636a075ec7359010f9e8a720c3
parent2b973e653257f965e33a61b58c0eb7e863aed6c8
Improve pushing to `Node::dependents`.

This patch makes it impossible for a node to end up in both
`node.parent` and `node.dependents`.
src/librustc_data_structures/obligation_forest/mod.rs