Files
bux-lang/tests/error_golden/double_mut_borrow/expected.err
T
dimgigov f619316470 feat: full match expressions in bootstrap and selfhost
Lower match to if-else for literals, ranges, enum tags, and wildcards.
Fix bootstrap literal arms that always matched; port real arm AST/parser
and Lcx_LowerMatch to selfhost with last-expression return. Expand
pattern_matching example and add parse/use-after-move/double-mut golden
diagnostics. Selfhost-loop remains binary-identical.
2026-07-16 16:19:43 +03:00

7 lines
168 B
Plaintext

error: type errors in project
error: mutable borrow conflict: arguments 1 and 2 both borrow '&mut x'
--> FILE:10:11
|
10 | TwoMut(&x, &x);
| ^