mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
9fad214593
Stop using CRATE_DEF_INDEX outside of metadata encoding. `CRATE_DEF_ID` and `CrateNum::as_def_id` are almost always what we want. We should not manipulate raw `DefIndex` outside of metadata encoding. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |