Skip to content

Commit 0f6e0b7

Browse files
committed
Update API test for addition of @unsafe
1 parent f2da0ce commit 0f6e0b7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/api-digester/Outputs/stability-stdlib-source-x86_64.swift.expected

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,18 @@ Func UnsafePointer.withMemoryRebound(to:capacity:_:) has generic signature chang
345345
Func UnsafePointer.withMemoryRebound(to:capacity:_:) is now without @rethrows
346346
Func withExtendedLifetime(_:_:) has generic signature change from <T, Result> to <T, E, Result where E : Swift.Error, T : ~Copyable, Result : ~Copyable>
347347
Func withExtendedLifetime(_:_:) is now without @rethrows
348+
349+
// Adoption of @unsafe
350+
Func unsafeBitCast(_:to:) is now with @unsafe
351+
Func unsafeDowncast(_:to:) is now with @unsafe
352+
Struct OpaquePointer is now with @unsafe
353+
Struct Unmanaged is now with @unsafe
354+
Struct UnsafeBufferPointer is now with @unsafe
355+
Struct UnsafeMutableBufferPointer is now with @unsafe
356+
Struct UnsafeMutablePointer is now with @unsafe
357+
Struct UnsafeMutableRawBufferPointer is now with @unsafe
358+
Struct UnsafeMutableRawPointer is now with @unsafe
359+
Struct UnsafePointer is now with @unsafe
360+
Struct UnsafeRawBufferPointer is now with @unsafe
361+
Struct UnsafeRawPointer is now with @unsafe
362+
Var Optional.unsafelyUnwrapped is now with @unsafe

0 commit comments

Comments
 (0)