Avatar
Avatar
Iceman
@swift-6.0.3 @swift-5.10.1 func useClosure(_ c: () throws -> Void) throws { try c() } func f(arg: () throws -> Void) rethrows { try useClosure(arg) }
exit status: 1 with <stdin>:6:9: error: call can throw, but the error is not handled; a function declared 'rethrows' may only throw if its parameter does try useClosure(arg) ^