rust/compiler/rustc_borrowck
Heath Dutton🕴️ f5f2ca0dc6 Improve move error diagnostic for AsyncFn closures
When an async closure captures a variable by move but is constrained to
`AsyncFn` or `AsyncFnMut`, the error message now explains that the
closure kind is the issue and points to the trait bound, similar to the
existing diagnostic for `Fn`/`FnMut` closures.
2026-01-28 13:19:05 -05:00
..
src Improve move error diagnostic for AsyncFn closures 2026-01-28 13:19:05 -05:00
Cargo.toml Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
messages.ftl it's not a borrow checker limitation :< 2025-08-14 17:43:39 +02:00