mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-20 20:12:09 +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.