mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
8294352b2d
Add common trait for crate definitions In stable mir, we specialize DefId, however some functionality is the same for every definition, such as def paths, and getting their crate. Use a trait to implement those. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml |