# Implicit cast from enum literal to optional enum and implicit cast to payload of error union · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e540e5b8ec1d90b86d6f41814507e6ae4ae5edd8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e540e5b8ec1d90b86d6f41814507e6ae4ae5edd8

Requested commit: e540e5b8ec1d90b86d6f41814507e6ae4ae5edd8

Commit: e540e5b8ec1d90b86d6f41814507e6ae4ae5edd8

Tree: abf9d434da52b0439d5fe273fc26cf9302e7c077

Author: Timon Kruiper

Committer: Andrew Kelley

## Message

```
Implicit cast from enum literal to optional enum and implicit cast to payload of error union

```

## Parents

- [53a6aea216d7b1e6b6072d30f2d51ed801d9e0f9](https://git.cafe/gitcafe/zig/commit/53a6aea216d7b1e6b6072d30f2d51ed801d9e0f9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e540e5b8ec1d90b86d6f41814507e6ae4ae5edd8?format=markdown)
