mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #11627 from moiseev/swift-2-artifacts
[stdlib] Remove the Grand Renaming artifacts of Swift 3 era
This commit is contained in:
@@ -1236,39 +1236,3 @@ extension RangeReplaceableCollection {
|
||||
return try Self(self.lazy.filter(isIncluded))
|
||||
}
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "RangeReplaceableCollection")
|
||||
public typealias RangeReplaceableCollectionType = RangeReplaceableCollection
|
||||
|
||||
extension RangeReplaceableCollection {
|
||||
@available(*, unavailable, renamed: "replaceSubrange(_:with:)")
|
||||
public mutating func replaceRange<C>(
|
||||
_ subrange: Range<Index>,
|
||||
with newElements: C
|
||||
) where C : Collection, C.Element == Element {
|
||||
Builtin.unreachable()
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "remove(at:)")
|
||||
public mutating func removeAtIndex(_ i: Index) -> Element {
|
||||
Builtin.unreachable()
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "removeSubrange")
|
||||
public mutating func removeRange(_ subrange: Range<Index>) {
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "append(contentsOf:)")
|
||||
public mutating func appendContentsOf<S : Sequence>(_ newElements: S)
|
||||
where S.Element == Element {
|
||||
Builtin.unreachable()
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "insert(contentsOf:at:)")
|
||||
public mutating func insertContentsOf<C : Collection>(
|
||||
_ newElements: C, at i: Index
|
||||
) where C.Element == Element {
|
||||
Builtin.unreachable()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user