mirror of
https://github.com/apple/swift.git
synced 2026-10-26 20:15:53 +01:00
The storage of a `@_rawLayout(like: T)` type is accessed generically, so size it using the opaque lowering of `T`. Previously, `Mutex<Void.Type>` reserved no space for its value, so storing the value overwrote the lock and `withLock` crashed. rdar://172126844