diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-04-30 05:50:17 -0600 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2020-05-02 14:39:32 -0600 |
| commit | a62e9bc8e50296e2d5b201614a78b0e658887aa9 (patch) | |
| tree | 83ec2f2583af3b60ac155ca1fb36c7aeaf419bfa /lib | |
| parent | 647901b4a82dbb89656c620d4d4a89869fdf1fa0 (diff) | |
| download | zig-a62e9bc8e50296e2d5b201614a78b0e658887aa9.tar.gz zig-a62e9bc8e50296e2d5b201614a78b0e658887aa9.zip | |
Implement @Type for ErrorSet
Diffstat (limited to 'lib')
| -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 9b0293228b..47fba9d095 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -256,6 +256,7 @@ pub const TypeInfo = union(enum) { /// therefore must be kept in sync with the compiler implementation. pub const Error = struct { name: []const u8, + /// This field is ignored when using @Type(). value: comptime_int, }; |
