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