mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 06:55:57 +00:00
Add `LayoutS::is_uninhabited` and use it Use accessors for the things that accessors are good at: reducing everyone's need to be nosy and peek at the internals of every data structure.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.