This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
55b6f649024b372af901b3412a6d36c4284ccf3d
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 15:27:07 -05:00
pub
trait
MyTrait
{
}
Reference in New Issue
Copy Permalink