master
1pub export fn entry() void {
2 const foo: anyerror!u32 = error.Failure;
3 const bar, const baz = foo;
4 _ = bar;
5 _ = baz;
6}
7
8// error
9//
10// :3:28: error: type 'anyerror!u32' cannot be destructured
11// :3:26: note: result destructured here