Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
capture_by_ref_if.zig
pretty
plain
permalink
blame
history
•
8 lines
•
131 B
1
test {
2
if (undefined) |*ident| {} else |err| {}
3
}
4
5
// error
6
//
7
// :2:22: error: unused capture
8
// :2:38: error: unused capture