mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

compiler: remove unnecessary imports and qualified paths Some of these imports were necessary before Edition 2021, others were already in the prelude. I hope it's fine that this PR is so spread-out across files :/
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.