AnyError is mainly a workaround for Result types that use the : Swift.Error constraint which this proposal does not. However, @Slava_Pestov mentioned making Swift.Error conform to itself. This is a much better solution than AnyError. I encourage the core team to include this modification if the proposal is accepted.
6 Likes