File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public protocol AtomicOptionalRepresentable: AtomicRepresentable {
1818 /// The storage representation type that encodes to and decodes from
1919 /// `Optional<Self>` which is a suitable type when used in atomic operations
2020 /// on `Optional`.
21- associatedtype AtomicOptionalRepresentation
21+ associatedtype AtomicOptionalRepresentation : BitwiseCopyable
2222
2323 /// Destroys a value of `Self` and prepares an `AtomicOptionalRepresentation`
2424 /// storage type to be used for atomic operations on `Optional`.
Original file line number Diff line number Diff line change 163163public protocol AtomicRepresentable {
164164 /// The storage representation type that `Self` encodes to and decodes from
165165 /// which is a suitable type when used in atomic operations.
166- associatedtype AtomicRepresentation
166+ associatedtype AtomicRepresentation : BitwiseCopyable
167167
168168 /// Destroys a value of `Self` and prepares an `AtomicRepresentation` storage
169169 /// type to be used for atomic operations.
Original file line number Diff line number Diff line change 6161@frozen
6262public enum Never { }
6363
64- extension Never : Sendable { }
64+ extension Never : BitwiseCopyable { }
65+
66+ extension Never : Sendable { }
6567
6668extension Never : Error { }
6769
You can’t perform that action at this time.
0 commit comments