mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
37d2ea2fa0
When encountering a tail expression in the then arm of an `if` expression without an `else` arm, account for `async fn` and `async` blocks to suggest `return`ing the value and pointing at the return type of the `async fn`. We now also account for AFIT when looking for the return type to point at. Fix #115405. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |