mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
3918b82993
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.