mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +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.