mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 13:28:48 +00:00

Use `typeck_results` to avoid duplicate `ast_ty_to_ty` call
Comes with a bunch of improvements in spans 😍
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.