mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
4e65f5ea82
Clippy has an internal lint that checks for the usage of hardcoded def paths and suggests to replace them with a lang or diagnostic item, if possible. This was implemented with a hack, by getting all the variants of the `LangItem` enum and then index into it with the position of the `LangItem` in the `items` list. This is no longer possible, because the `items` list can't be accessed anymore. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |