mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
467f5e99a5
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.