Documentation Index
Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt
Use this file to discover all available pages before exploring further.
Borrow Check diagnostics
- Total in this phase: 22
- Errors: 21 | Warnings: 1 | Bugs: 0
-
Prefix:
/diagnostics/<code> -
Common tags:
assign,async,borrow,closures,drop,iterator,lifetime,lint…
Common fixes in this phase
- clone
- Arc/Mutex
- AssertUnwindSafe
- ManuallyDrop patterns
- Pin APIs
Codes
E4000- use after move (Error)E4001- borrow of moved value (Error)E4002- partial move (Error)E4003- cannot move out of borrowed content (Error)E4004- multiple mutable borrows (Error)E4005- mutable borrow while immutable active (Error)E4006- borrow escapes stack frame (Error)E4007- borrow of temporary (Error)E4008- drop order conflict (Error)E4009- cannot assign through frozen borrow (Error)E4010- closure capture conflict (Error)E4011- async borrow across yield (Error)E4012- iterator invalidation pattern (Error)E4013- reborrow shortening failure (Error)E4014- union field borrow unsafe (Error)E4015- self borrow structural conflict (Error)E4016- pinned value unpinned borrow (Error)E4017- ghost borrow via destructor (Error)E4018- shared XOR mutable invariant (Error)E4019- thread boundary borrow (Error)E4020- cannot mutate immutable binding (Error)W1015- missing unwind safety (Warning)
/diagnostics/phases/borrow-check