Skip to content

Commit 02ada80

Browse files
committed
More temporary test fixes
1 parent 05113a6 commit 02ada80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Unsafe/safe.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func returnsExistentialP() -> any P {
8989

9090
// FIXME: Should work even if the IteratorProtocol conformance is safe
9191
struct UnsafeAsSequence: @unsafe Sequence, @unsafe IteratorProtocol {
92-
mutating func next() -> Int? { nil }
92+
@unsafe mutating func next() -> Int? { nil }
9393
}
9494

9595
func testUnsafeAsSequenceForEach() {

0 commit comments

Comments
 (0)