diag: add factual related borrow and task locations

This commit is contained in:
dev committed 2026-10-07 19:12:58 +03:00
1 parent dbd9763713
commit 8ee0f4c2bf
27 files changed
+659 -18

No files matched your search

+3 -3
View File
@@ -28,10 +28,10 @@ Draft registry. Codes are stable once released in a tagged compiler version.
|---|---|---|
| E2001 | ownership.use_after_move | Value used after ownership transfer |
| E2002 | ownership.double_consume | Linear value consumed twice |
| E2101 | borrow.mutable_alias | Overlapping exclusive/shared borrow violation |
| E2101 | borrow.mutable_alias | Overlapping exclusive/shared borrow violation; related definition when `conflicts_with` is identified (spec 10 §2) |
| E2102 | borrow.outlives_owner | Borrow may outlive backing storage |
| E2103 | memory.out_of_bounds | Access not proven in bounds |
| E2104 | memory.region_generation | Reference belongs to invalidated region generation |
| E2104 | memory.region_generation | Reference belongs to invalidated region generation; related definition when `conflicts_with` is identified (spec 10 §2) |
| E2110 | island.escape | Island-internal reference escapes island |
| E2105 | borrow.not_ended | Owned borrow live at `ret`, or borrow state differs between edges into a block |
| E2106 | borrow.use_after_end | Borrow used or ended after it was ended |
@@ -60,7 +60,7 @@ Draft registry. Codes are stable once released in a tagged compiler version.
| E4202 | atomic.ordinary_access | Atomic cell accessed by an ordinary load |
| E4203 | atomic.unsupported_width | Atomic width not implemented lock-free by the target |
| E4301 | task.live_child_escape | Scope exits with live child task |
| E4302 | task.borrow_escape | Child task borrow can outlive parent storage |
| E4302 | task.borrow_escape | Child task borrow can outlive parent storage; related spawn when `task` is identified (spec 10 §2) |
| E4303 | io.buffer_in_flight | Buffer accessed while async operation owns/borrows it |
| E4304 | sync.wait_while_locked | Suspending operation, spawn, or call of a waiting/spawning function while a lock guard is live |
| E4305 | task.shield_order | Shield ended while a more inner shield is live |