Skip to content

Commit e5e2ab5

Browse files
committed
Remove @unchecked Sendable from the list of things to diagnose; it's already covered
1 parent 228b68e commit e5e2ab5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

proposals/nnnn-strict-memory-safety.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ The following language constructs are always considered to be unsafe:
217217

218218
The following language constructs are considered to be unsafe when strict concurrency checking is enabled (i.e., in the Swift 6 language mode):
219219

220-
* `@unchecked Sendable`: A `Sendable` conformance that cannot be checked by the compiler, which could introduce thread safety issues.
221220
* `nonisolated(unsafe)`: Allows a property to be accessed from concurrent code without ensuring that such accesses are done so safely.
222221
* `@preconcurrency` imports: Suppresses diagnostics related to data race safety when they relate to specific imported modules, which can introduce thread safety issues.
223222

@@ -301,8 +300,6 @@ func passUnsafe() {
301300
}
302301
```
303302

304-
305-
306303
### Strict safety mode and escalatable warnings
307304

308305
The strict memory safety mode can be enabled with the new compiler flag `-strict-memory-safety`.

0 commit comments

Comments
 (0)