mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
82afb16179
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 | ||
README.md |