mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 21:07:47 +00:00
Suggest async {} for async || {}
Fixes #76011
This adds support for adding help diagnostics to the feature gating checks and
then uses it for the async_closure gate to add the extra bit of help
information as described in the issue.