mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-14 01:43:04 +00:00
Suggest correct signature on missing fn returning RPITIT/AFIT Add `async` and unpeel the future's output type if the function is async Fixes #108195
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.