• A
    Use `def_path_hash_to_def_id` when re-using a `RawDefId` · 3918b829
    Aaron Hill 提交于
    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.
    3918b829
issue-79890-imported-crates-changed.rs 232 字节