authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-03 00:03:35-08:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-02-03 14:54:39+01:00
log7ac110ac250aff4144efa2e29e4ab6610e851514
treecce326fc876fc907a98b87d2efb044438645dd10
parent953355ebeab881abff4a2c9315daa4fbb290d733

meta: fix failing test case affecting master


1 files changed, 2 insertions(+), 2 deletions(-)

test/cases/compile_errors/redundant_try.zig+2-2
...@@ -44,9 +44,9 @@ comptime {...@@ -44,9 +44,9 @@ comptime {
44//44//
45// :5:23: error: expected error union type, found 'comptime_int'45// :5:23: error: expected error union type, found 'comptime_int'
46// :10:23: error: expected error union type, found '@TypeOf(.{})'46// :10:23: error: expected error union type, found '@TypeOf(.{})'
47// :15:23: error: expected error union type, found 'tmp.test2__struct_493'47// :15:23: error: expected error union type, found 'tmp.test2__struct_494'
48// :15:23: note: struct declared here48// :15:23: note: struct declared here
49// :20:27: error: expected error union type, found 'tmp.test3__struct_495'49// :20:27: error: expected error union type, found 'tmp.test3__struct_496'
50// :20:27: note: struct declared here50// :20:27: note: struct declared here
51// :25:23: error: expected error union type, found 'struct { comptime *const [5:0]u8 = "hello" }'51// :25:23: error: expected error union type, found 'struct { comptime *const [5:0]u8 = "hello" }'
52// :31:13: error: expected error union type, found 'u32'52// :31:13: error: expected error union type, found 'u32'