"Attribute can only be applied to types, not declarations" error

Also FWIW, since the enum does not have any cases with associated values, it can be made Sendable without the use of @unchecked.

4 Likes