Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
non-exhaustive_enum_specifies_every_value.zig
pretty
plain
permalink
blame
history
•
12 lines
•
161 B
1
const C = enum(u1) {
2
a,
3
b,
4
_,
5
};
6
pub export fn entry() void {
7
_ = C.a;
8
}
9
10
// error
11
//
12
// :1:11: error: non-exhaustive enum specifies every value