![]() 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 |
![]() 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 |