mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 19:46:01 +00:00
This allows opaque type inference to check for defining uses without having to pass down that def id via function arguments to every method that could possibly cause an opaque type to be compared with a concrete type
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.