![]() 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. |
||
---|---|---|
.. | ||
mir | ||
crate_def.rs | ||
error.rs | ||
lib.rs | ||
mir.rs | ||
ty.rs | ||
visitor.rs |