mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
langref: fix error set order
This commit is contained in:
parent
44d8cf9331
commit
f94c66825e
@ -10176,7 +10176,7 @@ pub fn main() void {
|
||||
|
||||
{#header_open|Invalid Error Set Cast#}
|
||||
<p>At compile-time:</p>
|
||||
{#code_begin|test_err|test_comptime_invalid_error_set_cast|'error.B' not a member of error set 'error{A,C}'#}
|
||||
{#code_begin|test_err|test_comptime_invalid_error_set_cast|'error.B' not a member of error set 'error{C,A}'#}
|
||||
const Set1 = error{
|
||||
A,
|
||||
B,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user