diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-01-17 14:26:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-17 14:26:12 -0500 |
| commit | b5ac079f88e9098ea9c95356518820a5c3fb42a8 (patch) | |
| tree | e4028947b688f53a5387b6b3e0b454090ee240dc /lib/std | |
| parent | d9be6e5dc693fcbcb5f4c343a3d2b0b9fc786e25 (diff) | |
| parent | 39f92a9ee4ea109628e1f7d5a65bb53575e53194 (diff) | |
| download | zig-b5ac079f88e9098ea9c95356518820a5c3fb42a8.tar.gz zig-b5ac079f88e9098ea9c95356518820a5c3fb42a8.zip | |
Merge pull request #4191 from Vexu/non-exhaustive-enums
Implement non-exhaustive enums
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 65604a5b20..55f044094e 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -254,6 +254,7 @@ pub const TypeInfo = union(enum) { tag_type: type, fields: []EnumField, decls: []Declaration, + is_exhaustive: bool, }; /// This data structure is used by the Zig language code generation and |
