This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c934ce9e0a
rust
/
tests
/
incremental
/
auxiliary
/
issue-79890.rs
2 lines
21 B
Rust
Raw
Normal View
History
Unescape
Escape
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 14:27:07 -06:00
pub
trait
MyTrait
{
}
Reference in New Issue
Copy Permalink