Issue #1623: a generic that starts a task over its own T and joins it fails rustc…

Open and answer this issue on GitHub.

decision, bugs · opened 2026-11-15 · updated 2026-11-15 · 0 comments

Filed by the driver from the Found: of the run of issue-1559 (#1559) (owner, 2026-11-06).

Found

a generic that starts a task over its own T and joins it fails rustc (NK1343) with T: Send, not DeepSize: TaskHandle::start needs T: ‘static and join needs T: Send + ‘static (task.rs 361/432), and no bound is inferred; probe: fn laterT -> T { let t = async(detached) fn { x }; let got = t.join() catch { return other }; return got }, called as later(5, 6). Implying Send + ‘static on a type parameter (a T can be a view) needs a decision

Needs

supervisor decision on the task Found

To build

Done when

The probe gives the specified result and its test is green.


Generated by Claude Code

Back to Open Issues