Files
rust/compiler
Esteban Küber 37d2ea2fa0 Properly handle async blocks and fns in if exprs without else
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.
2024-02-12 20:26:34 +00:00
..
2023-10-30 08:46:02 +11:00
2024-01-16 21:15:31 +01:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00