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