# Updates std.meta.intToEnum to support non-exhaustive enums \(\#15491\) · gitcafe/zig

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

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

Visibility: public

Requested revision: e963793e37f93d84f1e5295d309ebe0c738b663d

Requested commit: e963793e37f93d84f1e5295d309ebe0c738b663d

Commit: e963793e37f93d84f1e5295d309ebe0c738b663d

Tree: 46eae49bf1a983385eac9eab56b633f33e511099

Author: Mason Remaley

Committer: GitHub

## Message

```
Updates std.meta.intToEnum to support non-exhaustive enums (#15491)

This was preventing `std.json` from deserializing non-exhaustive enums.
```

## Parents

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

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