Skip to content

Commit 88b28c3

Browse files
committed
Update stdlib API stability now that @unsafe addition isn't considered "breaking"
1 parent bd237c7 commit 88b28c3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,13 @@ Accessor UnsafePointer.hashValue.Get() has generic signature change from <Pointe
213213
Accessor UnsafePointer.pointee.Get() has been removed
214214
Accessor UnsafePointer.subscript(_:).Get() has been removed
215215
Class ManagedBuffer has generic signature change from <Header, Element> to <Header, Element where Element : ~Copyable>
216-
Constructor ClosedRange.init(uncheckedBounds:) is now with @unsafe
217216
Constructor ExpressibleByNilLiteral.init(nilLiteral:) has generic signature change from <Self where Self : Swift.ExpressibleByNilLiteral> to <Self where Self : Swift.ExpressibleByNilLiteral, Self : ~Copyable>
218217
Constructor ManagedBufferPointer.init(bufferClass:minimumCapacity:makingHeaderWith:) has generic signature change from <Header, Element> to <Header, Element where Element : ~Copyable>
219218
Constructor ManagedBufferPointer.init(unsafeBufferObject:) has generic signature change from <Header, Element> to <Header, Element where Element : ~Copyable>
220219
Constructor OpaquePointer.init(_:) has generic signature change from <T> to <T where T : ~Copyable>
221220
Constructor Optional.init(_:) has generic signature change from <Wrapped> to <Wrapped where Wrapped : ~Copyable>
222221
Constructor Optional.init(_:) has parameter 0 changing from Default to Owned
223222
Constructor Optional.init(nilLiteral:) has generic signature change from <Wrapped> to <Wrapped where Wrapped : ~Copyable>
224-
Constructor Range.init(uncheckedBounds:) is now with @unsafe
225223
Constructor Result.init(catching:) has generic signature change from <Success, Failure where Failure == any Swift.Error> to <Success, Failure where Failure : Swift.Error, Success : ~Copyable>
226224
Constructor UnsafeBufferPointer.init(_:) has generic signature change from <Element> to <Element where Element : ~Copyable>
227225
Constructor UnsafeBufferPointer.init(start:count:) has generic signature change from <Element> to <Element where Element : ~Copyable>
@@ -362,19 +360,3 @@ Func ContiguousArray.withUnsafeBufferPointer(_:) is now without rethrows
362360
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
363361
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) has parameter 0 type change from (inout Swift.UnsafeMutableBufferPointer<Element>) throws -> R to (inout Swift.UnsafeMutableBufferPointer<Element>) throws(E) -> R
364362
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) is now without rethrows
365-
366-
// Adoption of @unsafe
367-
Func unsafeBitCast(_:to:) is now with @unsafe
368-
Func unsafeDowncast(_:to:) is now with @unsafe
369-
Struct CVaListPointer is now with @unsafe
370-
Struct OpaquePointer is now with @unsafe
371-
Struct Unmanaged is now with @unsafe
372-
Struct UnsafeBufferPointer is now with @unsafe
373-
Struct UnsafeMutableBufferPointer is now with @unsafe
374-
Struct UnsafeMutablePointer is now with @unsafe
375-
Struct UnsafeMutableRawBufferPointer is now with @unsafe
376-
Struct UnsafeMutableRawPointer is now with @unsafe
377-
Struct UnsafePointer is now with @unsafe
378-
Struct UnsafeRawBufferPointer is now with @unsafe
379-
Struct UnsafeRawPointer is now with @unsafe
380-
Var Optional.unsafelyUnwrapped is now with @unsafe

0 commit comments

Comments
 (0)