rust/compiler/rustc_query_system/src/dep_graph
Aaron Hill 3918b82993
Use def_path_hash_to_def_id when re-using a RawDefId
Fixes #79890

Previously, we just copied a `RawDefId` from the 'old' map to the 'new'
map. However, the `RawDefId` for a given `DefPathHash` may be different
in the current compilation session. Using `def_path_hash_to_def_id`
ensures that the `RawDefId` we use is valid in the current session.
2020-12-10 16:04:19 -05:00
..
debug.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
dep_node.rs Properly re-use def path hash in incremental mode 2020-12-04 22:16:40 -05:00
graph.rs Use def_path_hash_to_def_id when re-using a RawDefId 2020-12-10 16:04:19 -05:00
mod.rs Lazy DefPath decoding for incremental compilation 2020-11-25 14:49:15 -05:00
prev.rs Properly re-use def path hash in incremental mode 2020-12-04 22:16:40 -05:00
query.rs Remove unused code from rustc_query_system 2020-10-14 04:14:32 +02:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
serialized.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

To learn more about how dependency tracking works in rustc, see the [rustc guide].