Avatar
Avatar
omochimetaru
@swift-main -enable-upcoming-feature ExistentialAny func foo() -> Result<Int, Error> { fatalError() }
swiftNightly BOT 4/27/2023 1:17 PM
exit status: 1 with <stdin>:1:27: error: use of protocol 'Error' as a type must be written 'any Error' func foo() -> Result<Int, Error> { fatalError() } ^~~~~ any Error