mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 21:45:15 +00:00
THis significantly complicates `NaiveLayout` logic, but is necessary to ensure that bounds like `NonNull<T>: PointerLike` hold in generic contexts. Also implement exact layout computation for structs.
For more information about how rustc works, see the rustc dev guide.