Swift: Replace deprecated @_moveOnly in test by ~Copyable

This commit is contained in:
Jeroen Ketema
2025-04-23 09:48:00 +02:00
committed by Paolo Tranquilli
parent 59faf9fbdf
commit a74b38c0ec

View File

@@ -1,5 +1,5 @@
@_moveOnly
struct S {
struct S : ~Copyable {
__consuming func f() {
discard self
}