rust/compiler/rustc_trait_selection
Guillaume Gomez ddad818b7a
Rollup merge of #121119 - compiler-errors:async-fn-kind-errs, r=oli-obk
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
2024-02-16 00:27:33 +01:00
..
src Rollup merge of #121119 - compiler-errors:async-fn-kind-errs, r=oli-obk 2024-02-16 00:27:33 +01:00
Cargo.toml avoid always rerunning in case of a cycle 2024-01-09 11:19:34 +01:00
messages.ftl make better async fn kind errors 2024-02-15 15:59:35 +00:00