mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 08:17:10 +00:00
This allows for better type safety in the compiler and also improves the documentation for many things, making it clear that they expect modules.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.