mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 02:18:50 +00:00
Make `async Fn` trait kind errors better 1. Make it so that async closures with the wrong closurekind actually report a useful error 2. Explain why async closures can sometimes not implement `Fn`/`FnMut` (because they capture things) r? oli-obk