Avatar
@swift-5.7.3 @rethrows protocol RethrowsIterator { func next() throws -> Int? } struct NonfailableIter: RethrowsIterator { func next() -> Int? { return 1 } } func callNextRethrows<T: RethrowsIterator>(_ iter: inout T) async throws -> Int? { try iter.next() }