mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
e683a17f80
Fix ICE: Scalar layout for non-primitive non-enum type unsafe binder `UnsafeBinder` uses the inner layout, but the debug layout check still looked at the outer type. Check the inner type first so this does not ICE. Tracking issue: rust-lang/rust#130516 Closes: rust-lang/rust#154426