bors 9973b11218 Auto merge of #15012 - lowr:patch/generate-fn-async-ret-ty, r=HKalbasi
Infer return type for async function in `generate_function`

Part of #10122

In `generate_function` assist, when we infer the return type of async function we're generating, we should retrieve the type of parent await expression rather than the call expression itself.
2023-06-09 09:00:45 +00:00
..
2023-05-28 13:43:21 +02:00
2023-06-01 14:46:36 +02:00
2023-06-01 14:46:36 +02:00
2023-05-13 11:51:28 +02:00
2023-06-04 10:02:11 +02:00
2023-05-06 00:49:23 -07:00