Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
capture_by_ref_switch.zig
pretty
plain
permalink
blame
history
•
9 lines
•
112 B
1
test {
2
switch (undefined) {
3
.a => |*ident| {},
4
}
5
}
6
7
// error
8
//
9
// :3:17: error: unused capture