mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:06:37 +00:00
Register nodes that we've reused from the previous session explicitly with `OnDiskCache`. Previously, we relied on this happening as a side effect of accessing the nodes in the `PreviousDepGraph`. For the sake of performance and avoiding unintended side effects, register explictily.