langref: fix error set order

Something about the stdlib changes swapped the order?
This commit is contained in:
Veikka Tuominen 2024-01-29 19:41:24 +02:00
parent a4f27e8987
commit 318e9cdaaa

View File

@ -10139,7 +10139,7 @@ pub fn main() void {
{#header_open|Invalid Error Set Cast#} {#header_open|Invalid Error Set Cast#}
<p>At compile-time:</p> <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{ const Set1 = error{
A, A,
B, B,