mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
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