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