Skip to content

Commit e76f3f9

Browse files
committed
Change test to use ~Copyable syntax.
I hit a weird bug where for some reason it wasn't working. I can't reproduce it now, so it makes sense to use the correct syntax.
1 parent 59fdfad commit e76f3f9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/SILOptimizer/moveonly_addresschecker_diagnostics_library_evolution.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ public struct DeinitTest : ~Copyable {
3535

3636
public protocol P {}
3737

38-
// Once rdar://109170600 is fixed (which tracks us being unable to do this), we
39-
// should be able to use the : ~Copyable syntax.
40-
@_moveOnly
41-
public struct GenericDeinitTest<T : P> {
38+
public struct GenericDeinitTest<T : P> : ~Copyable {
4239
deinit {}
4340
}
4441

0 commit comments

Comments
 (0)