We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea1084 commit 61f182fCopy full SHA for 61f182f
test/Concurrency/deinit_isolation_in_value_types.swift
@@ -19,7 +19,7 @@ struct CS: ~Copyable {
19
}
20
21
struct DS: ~Copyable {
22
- nonisolated deinit {} // expected-error {{only classes and actors can have isolated deinit}}
+ nonisolated deinit {}
23
24
25
struct ES: ~Copyable {
@@ -47,7 +47,7 @@ enum CE: ~Copyable {
47
enum DE: ~Copyable {
48
case dummy
49
// expected-error@+1 {{deinitializers are not yet supported on noncopyable enums}}
50
51
52
53
enum EE: ~Copyable {
0 commit comments