aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-17 14:26:12 -0500
committerGitHub <noreply@github.com>2020-01-17 14:26:12 -0500
commitb5ac079f88e9098ea9c95356518820a5c3fb42a8 (patch)
treee4028947b688f53a5387b6b3e0b454090ee240dc /lib/std
parentd9be6e5dc693fcbcb5f4c343a3d2b0b9fc786e25 (diff)
parent39f92a9ee4ea109628e1f7d5a65bb53575e53194 (diff)
downloadzig-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.zig1
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