mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
langref: fix error set order
Something about the stdlib changes swapped the order?
This commit is contained in:
parent
a4f27e8987
commit
318e9cdaaa
@ -10139,7 +10139,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{C,A}'#}
|
||||
{#code_begin|test_err|test_comptime_invalid_error_set_cast|'error.B' not a member of error set 'error{A,C}'#}
|
||||
const Set1 = error{
|
||||
A,
|
||||
B,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user